Date: Wed, 12 Jan 2000 13:53:47 -0800 (PST) From: Brian Somers <brian@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.sbin/portmap from_local.c pmap_check.c pmap_check.h portmap.c src/usr.sbin/portmap/pmap_dump pmap_dump.c src/usr.sbin/portmap/pmap_set pmap_set.c Message-ID: <200001122153.NAA54101@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
brian 2000/01/12 13:53:47 PST
Modified files:
usr.sbin/portmap from_local.c pmap_check.c pmap_check.h
portmap.c
usr.sbin/portmap/pmap_dump pmap_dump.c
usr.sbin/portmap/pmap_set pmap_set.c
Log:
As we parse the interface list, ignore sockaddr_dl's that
don't have an interface index that's the same as the if_msghdr
interface index.
This prevents the occasional perror("SIOCGIFFLAGS") from appearing
at boot time.
While I'm there:
Make a couple of error messages more useful.
Add a missing include.
Add some braces to silence gccs dumb complaints.
Add some consts
Ansify decls
Add copyright to pmap_check.h (well, you could say it's been rewritten)
Revision Changes Path
1.9 +25 -11 src/usr.sbin/portmap/from_local.c
1.5 +25 -37 src/usr.sbin/portmap/pmap_check.c
1.2 +36 -7 src/usr.sbin/portmap/pmap_check.h
1.9 +17 -34 src/usr.sbin/portmap/portmap.c
1.5 +5 -7 src/usr.sbin/portmap/pmap_dump/pmap_dump.c
1.5 +5 -12 src/usr.sbin/portmap/pmap_set/pmap_set.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200001122153.NAA54101>
