Commit Graph

32 Commits

Author SHA1 Message Date
mrg 74e0882190 rs_data is u_char *, so assign it from a u_char *. 2006-05-11 08:38:38 +00:00
wiz 25988cacf4 Sync usage with man page. From jmc@openbsd. 2005-10-31 15:22:10 +00:00
christos c40b82ea42 constify. 2005-06-27 03:10:32 +00:00
wiz e6d8e1c083 -a cannot be specified with an interface; remove it from that part
of the usage. Closes PR 25917 by Kouichirou Hiratsuka.
2004-06-25 14:52:36 +00:00
itojun c257ec3afe backout previous change (removal of pidfile(3) call). requested by core. 2004-01-08 02:48:43 +00:00
itojun 592be49540 remove call to pidfile(3), it was just for debugging (and there was no proper
cleanup code).  from kame
2004-01-03 06:16:40 +00:00
itojun 85d26f975b rtsol: factor out dump.c if -DSMALL (for boot floppy)
use __func__ not __FUNCTION__
use timeradd() and timersub() from sys/time.h

from kame
2004-01-03 01:40:31 +00:00
itojun f189be338c unifdef HAVE_ARC4RANDOM 2003-09-06 12:56:43 +00:00
itojun 3d2b0dbc0e strncpy -> strlcpy 2003-05-17 18:13:55 +00:00
itojun 68452c0c92 assume presense of getifaddrs(3). 2003-05-15 14:44:57 +00:00
itojun 6cad7b99db simplify by using strdup. from kame 2003-05-15 00:19:30 +00:00
mycroft aae6c28cf9 null commit 2002-09-23 12:44:34 +00:00
itojun 3ca6603d44 sys/poll.h -> poll.h
reduce diff w/ kame tree.
2002-09-20 22:04:31 +00:00
mycroft a5f0bfc173 Set fd of unused pollfd entries to -1. 2002-09-20 19:51:33 +00:00
mycroft 648377324d select() -> poll() 2002-09-20 13:08:21 +00:00
itojun bdbbb53d75 signal handler must take "int" arg. from deraadt, sync w/kame 2002-09-08 01:42:55 +00:00
wiz c807c0dfe6 Finish ANSIfication. Remove ifndef __STDC__. 2002-07-14 00:37:46 +00:00
itojun d816e24b39 avoid fd_set overrun. 2002-05-31 22:10:18 +00:00
itojun b31318e482 KNF, from openbsd via kame 2002-05-31 10:22:11 +00:00
wiz e5b8ea6058 Fix typo in warning, reported by Tero Kivinen in bin/16055. 2002-03-25 19:55:41 +00:00
itojun 4a1ad619af daemon(3) has to be called before opening file descriptors.
noticed by markus@openbsd, sync with kame
2002-01-11 04:20:55 +00:00
itojun 029bd4843d sync with kame better. snprintf return value audit. 2001-08-22 05:24:37 +00:00
itojun 052c0d9a64 sync with kame.
KAME rtsold.c 1.28
watch routing socket, and check for pcmcia card removal.
if pcmcia card gets removed, bring the interface state into IFS_DOWN.

KAME rtsold.c 1.29
changed the timeout period after sending MAX_RTR_SOLICITATIONS solicitation
from RTR_SOLICITATION_INTERVAL to MAX_RTR_SOLICITATION_DELAY according to
the last paragraph of RFC 2461 Section 6.3.7.
in response to a comment from Pekka Savola <pekkas@netcore.fi>
2001-07-09 06:04:28 +00:00
itojun 74b478c63c printf-format audit. from sommrfeld@netbsd.org. sync with kame. 2000-10-06 00:13:01 +00:00
itojun 8702beec4d warn if net.inet6.ip6.forwarding == 1. rtsol{,d} is not supposed to be used
on routers.
update manpage (talk about -a twists more).
2000-08-13 18:19:12 +00:00
itojun ba6d02ed0c add -a flag: automatically probe an interface, works only if there's
only single external non-p2p interface.  idea from thopej.
$KAME$.

(sync with kame)
2000-08-13 06:20:02 +00:00
itojun e3d3868ea8 use getifaddrs. do not leave AF_INET6 listening socket left opened for
ioctls.  (sync with latest kame)
2000-02-25 09:19:06 +00:00
tron 1bc6630de6 Remove bogus declaration of "errno". 2000-01-22 10:05:13 +00:00
itojun a650ffbfaf write out dump file into /var/run, not /var/tmp.
(sync with KAME, for possible security reasons)
1999-12-16 05:55:52 +00:00
itojun d9a742bd0d improve debugging functionality.
(sync with latest KAME)
1999-12-09 15:08:33 +00:00
itojun 65da2d8803 fix prototypes decls (already back-ported into KAME).
RCSID police.
1999-09-03 05:14:37 +00:00
itojun ba92138668 KAME code, 19990903 1999-09-03 04:56:06 +00:00