Commit Graph

11 Commits

Author SHA1 Message Date
brian
ce5ba84d9f K&Rify 2000-01-15 23:08:30 +00:00
brian
044c75cf79 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
peter
b6784c4210 $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00
tegge
0554290a19 Don't clobber errno when reaping child processes. 1998-04-26 01:00:00 +00:00
charnier
b3387996d0 Use err(3). Add usage().
Correct the .Nd string: in real life, portmap is translating rpc prog numbers
to darpa ports, not the opposite.
1997-10-09 07:17:36 +00:00
imp
15c4d207bc compare return value from getopt against -1 rather than EOF, per the final
posix standard on the topic.
1997-03-31 05:11:47 +00:00
joerg
20cb679f48 Typo.
Submitted by:	somebody in Usenet whose name i forgot
1996-02-05 15:35:41 +00:00
adam
76bd900a33 Correct ip protocol in error message, when binding the tcp port. 1995-10-27 11:44:07 +00:00
rgrimes
5a145b5eb1 Remove trailing whitespace. 1995-05-30 03:57:47 +00:00
pst
42d798d589 Portmap 3.0 from win.tue.nl 1994-09-29 09:32:22 +00:00
rgrimes
2233bc697f BSD 4.4 Lite usr.sbin Sources 1994-05-26 05:23:31 +00:00