freebsd-nq/usr.sbin/portmap/pmap_dump
Brian Somers ae2a77e2bf 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)
2000-01-12 21:53:46 +00:00
..
Makefile
pmap_dump.c As we parse the interface list, ignore sockaddr_dl's that 2000-01-12 21:53:46 +00:00