dsl
e7df4576bb
Add (unsigned char) cast to ctype functions
2004-10-30 08:56:00 +00:00
wiz
47190e80b8
Consistently use 'RFC 1234' instead of 'RFC1234' or 'RFC-1234'.
...
From jmc@openbsd.
2003-09-07 16:22:20 +00:00
itojun
e2c411ce3c
use arc4random
2003-09-06 12:42:00 +00:00
itojun
757e458559
SIOCGIFCONF -> getifaddrs conversion
2003-08-18 05:39:52 +00:00
itojun
b98c10dfbb
strdup is simpler
2003-07-13 12:40:17 +00:00
itojun
b37b18f113
remove obsolete comment
2003-05-17 19:19:50 +00:00
dsl
35605a88c0
A slightly better inet_parse(), tested in isolation.
2003-05-17 09:39:04 +00:00
dsl
ee70b5d6af
Revert previous change. Remove s parameter from teh function and rotate
...
the result through a fixed set of strings instead.
There never was a possibility of a buffer overrun in inet_fmt{s}().
Fix an actual buffer overrun in a scanf() call.
2003-05-16 22:59:50 +00:00
itojun
761f7bebc3
avoid possible buffer overruns - strlcpy, snprintf
2003-05-16 18:10:37 +00:00
fvdl
2130087152
This seems to need a -I${.CURDIR} these days.
2003-03-07 01:06:05 +00:00
wiz
7f3982ff72
Add RCS Id; new sentence, new line; at least one mdoc fix; sort sections.
2003-03-05 21:48:59 +00:00
wiz
6b7e50194b
mdocified man page from mpech@openbsd.org
2003-03-05 21:40:08 +00:00
wiz
2dd997ff9e
ANSIfy one more.
2003-03-05 21:32:51 +00:00
wiz
ff2bebb731
Use vsnprintf instead of vsprintf. From OpenBSD.
2003-03-05 21:15:18 +00:00
wiz
b4cca63351
Add license (from Xerox), from OpenBSD.
2003-03-05 21:12:26 +00:00
wiz
f74dd12ce6
License update from Stanford, via OpenBSD.
2003-03-05 21:07:14 +00:00
wiz
c60d41a9de
Move back from gnu/dist/mrouted, now that it's available under a BSD
...
license.
2003-03-05 21:05:38 +00:00
itojun
9bbfbbb676
move mrouted out of basesrc, as it carries non-BSD license.
...
agreed w/ core.
2002-10-01 03:30:50 +00:00
itojun
17110be88b
die if fd_set overrun. (they're not setuid binary so it is not that critical)
2002-08-09 02:17:26 +00:00
itojun
2f26267778
ifa->ifa_addr is already pointer, no need for "&". from love
2002-08-01 23:47:46 +00:00
itojun
43cad3fc3f
use getifaddrs, not SIOCGIFCONF. should fix PR12578
2002-08-01 14:04:50 +00:00
itojun
a297f25294
avoid issues with typecast optimization (taking advantage of pointer aliasing),
...
which results in incorrect igmp checksum.
confirmed by taca@netbsd
2002-08-01 08:33:14 +00:00
itojun
896f6ff227
u_short cleansing (should be u_int16_t)
2002-08-01 03:40:34 +00:00
wiz
51c0807f60
Unifdef __STDC__. Remove __P(). Remove register. ANSIfy.
2002-07-14 16:30:41 +00:00
itojun
a3a7b3dc05
missing memset() for sockaddr. from deraadt
2002-06-02 13:47:02 +00:00
ross
2a76afae02
Generate <>& symbolically. I'm avoiding .../dist/... directories for now.
2002-02-08 01:36:18 +00:00
wiz
483f92284e
Whitespace nits.
2002-01-19 03:39:46 +00:00
itojun
de2695eefc
copyright clarification. via openbsd
2001-08-02 03:41:42 +00:00
wiz
0a600be867
receive, not recieve
2001-06-12 15:17:10 +00:00
wiz
14dbdf5518
Negative exit code cleanup: Replace exit(-x) with exit(x).
...
As seen on tech-userlevel.
2001-04-06 11:13:45 +00:00
augustss
8ca6dec6ba
Make it compile again after format string changes (this change was obviously
...
never tested).
2000-10-12 06:07:04 +00:00
is
d8302e2d73
More format string cleanups by sommerfeld.
2000-10-11 20:23:46 +00:00
matt
3ab02a8704
More #include <stdlib.h> string, etc. cleanup
2000-07-04 20:27:35 +00:00
soren
89c5a767f8
Fix doubled 'the's.
2000-03-13 22:55:05 +00:00
thorpej
bcd4659148
Use pidfile(3).
1999-06-06 03:27:35 +00:00
thorpej
ad9c4f4fa5
Use daemon(3) and pidfile(3).
1999-06-06 03:27:06 +00:00
hwr
729bc0fae0
The ioctls have been issued on the wrong socket, so they failed with a
...
EINVAL. This has been confirmed by Bill Fenner. The wrong socket led to
masses of syslog entries on hosts connected to the mbone and cache entries
deleted to early.
XXX As the socket need to be the one that is ip_mrouter in netinet/ip_mroute.c,
XXX the kernel could be modified to always return the data for ip_mrouter.
XXX Bill Fenner suggests to upgrade to 3.9.beta-3 with -DIOCTL_OK_ON_RAW_SOCKET
1999-01-23 22:44:43 +00:00
he
8344625106
Apply patches for mtrace in bin/5598 by yours truly.
...
This adds decoding of more error and result codes when tracing through
cisco routers running PIM and/or MBGP.
1999-01-14 21:54:10 +00:00
ross
5b1f2d4c8c
Add {} pairs to shut up egcs.
1998-08-27 18:03:42 +00:00
lukem
786b86d71b
use AF_LOCAL instead of AF_UNIX
1998-07-18 05:04:35 +00:00
kleink
37bede84a4
Use strerror(3) instead of sys_errlist and sys_nerr.
1998-05-09 17:22:07 +00:00
tv
482063559a
.y.c <sys.mk> rule fixes. Don't create a y.tab.h file unless asked for,
...
and use smarter creation of the header file.
1998-04-09 00:32:31 +00:00
mrg
05f0779a44
work around gcc warning.
1998-03-30 02:33:37 +00:00
mrg
98d6cbcc95
use static int instead of static
1998-03-30 02:33:23 +00:00
lukem
bc741e3624
WARNSify
1997-10-17 10:38:25 +00:00
lukem
c73b1c8336
WARNSify
1997-10-17 10:38:20 +00:00
lukem
593df3da4c
WARNSify
1997-10-17 10:28:39 +00:00
fair
99d14e3181
correct man page pathnames to reflect reality, per PR#4148
1997-09-25 06:49:59 +00:00
is
45ae7d19f3
Mention correct PID file location.
1997-03-25 16:06:55 +00:00
cgd
13c61484db
fix a call to localtime() so that it works if time_t != long.
...
(Whoever decided that one should repeate all of the locals 2x to
save one more #ifdef in log() should be shot...)
1995-12-19 03:33:06 +00:00