xtraeme
a8d83732cf
Kill __P(), use ANSI function declarations, constify; WARNS=3.
2005-02-09 13:57:57 +00:00
itojun
466ceae082
unifdef -DINET6. getaddrinfo will always be there, so there's no point in
...
keeping old code. moreover old code does not traverse list of DNS-returned
addresses.
2004-03-01 23:01:18 +00:00
agc
276d62f603
Move UCB-licensed code from 4-clause to 3-clause licence.
...
Patches provided by Joel Baker in PR 22308, verified by myself.
2003-08-07 10:04:22 +00:00
itojun
d90a2369ab
use bounded string ops
2003-07-13 07:39:39 +00:00
lukem
415d1abdd8
be consistent (both internally and with other programs):
...
log_err fatal errors
log_warning non-fatal errors & warnings
log_debug debug messages (#ifdef DEBUG)
2001-01-10 03:33:16 +00:00
itojun
1bc3ecd398
support IPv6. PR 11858 from ura@hiru.aoba.yokohama.jp
2000-12-31 06:03:52 +00:00
perry
96bf04cc4d
change <strings.h> to <string.h> to fix compiler warning
1998-02-03 03:32:43 +00:00
enami
0ac5bcaa77
Cosmetic changes:
...
- Use syslog(..., "...%m") instead of syslog(..., "...%s",
strerror(errno)).
- Don't put a simple and single statement into a block.
- Indent continuation line by four space.
- Add an empty line at the beginning of a function if it doesn't have
local variable.
- Use err() or errx() instead of fprintf(stderr, "progname: ....\n")
and exit() (there was two place left).
- Use MOUNT_PORTAL, which is defined as "portal" in sys/mount.h,
instead of using "portal" directly.
- Fold long line to fit column < 80.
1997-09-21 02:35:40 +00:00
lukem
4b0b1ba833
resolve conflicts from lite-2 merge
1997-09-16 12:32:03 +00:00
lukem
4eb9f40a9c
* KNF-ify
...
* update for WARNS=1
* getopt returns -1 not EOF
* fix .Nm usage
1997-09-15 05:58:22 +00:00
mycroft
9cd5391535
Use inet_aton(), not inet_addr().
1995-05-21 15:33:22 +00:00
cgd
555d4b510e
slightly clean rcs ids, etc.
1995-04-23 10:33:03 +00:00
cgd
0114e805ce
convert to new RCS Id conventions; reduce my headache
1995-03-18 14:54:19 +00:00
mycroft
ea7b5d4ec6
Eliminate uses of some obsolete functions.
1994-09-23 14:26:58 +00:00
mycroft
5922d844af
Update from 4.4-Lite, with local changes.
1994-06-08 19:23:02 +00:00
mycroft
ce8435c526
Add missing htons(), reported by Thorsten Lockert.
1994-05-30 09:55:56 +00:00
cgd
6de18bb07c
update from jsp; add 'priv' keyword to get privileged ports
1994-01-14 19:47:02 +00:00
mycroft
e1a2193974
Fix path name parsing.
1994-01-13 17:43:39 +00:00
cgd
a70a31f7fa
mount_portal command, from jsp
1994-01-12 20:01:45 +00:00