Commit Graph

15 Commits

Author SHA1 Message Date
dan
6ff40a4cfb prevent a potential resource leak, not found by coverity (perhaps masked by previous) 2006-03-18 21:41:23 +00:00
dan
3713fec029 catch another possible error case and exit early; CID 990 2006-03-18 21:35:35 +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
68452c0c92 assume presense of getifaddrs(3). 2003-05-15 14:44:57 +00:00
itojun
079ee2105d fix typo. from jason@openbsd 2003-04-02 23:29:29 +00:00
wiz
c807c0dfe6 Finish ANSIfication. Remove ifndef __STDC__. 2002-07-14 00:37:46 +00:00
itojun
b31318e482 KNF, from openbsd via kame 2002-05-31 10:22:11 +00:00
itojun
a6b4b2d5a5 use strncpy instead of strcpy, just in case. sync with kame 2001-11-14 01:55:38 +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
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
itojun
1d4f533c98 avoid use of kvm, mostly for boot floppy's convenience.
(sync with latest kame)
1999-12-31 19:40:19 +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