Commit Graph

27 Commits

Author SHA1 Message Date
christos
b935e079cd fix printf formats. 2008-12-28 20:15:21 +00:00
dyoung
4287175475 Don't nul-terminate the interface name in a sockaddr_dl that is
part of an ifa_msghdr returned by sysctl(3), because that could
overwrite the ifam_len field of the following ifa_msgher.  Instead,
copy the interface name out of the sockaddr_dl, and then nul-terminate.
Fixes the bug reported by Frank Kardel on current-users@.  Thanks
Frank for reporting, and for testing the fix.
2007-08-14 03:39:19 +00:00
christos
2044d4f590 Coverity CID 2671: Fix use of ifp after free. 2006-03-17 16:58:09 +00:00
christos
f93fe60ac0 sync with routed 2.27 2002-11-30 04:04:23 +00:00
lukem
cbbd79f700 fix -Wshadow warnings 2001-11-02 05:30:56 +00:00
christos
4fea751ddc sync with version 2.24. Vernon says:
The most significant [fix] involves so called "remote" interfaces
configured in the kludge file to with what appear to be colliding
networks.  Edward Mascarenhas <eddiem@vihar.engr.sgi.com> found
the problem and the fix, and I think has tested it in the SGI
network.
2001-03-10 23:52:45 +00:00
itojun
7846de58b2 specify interface by using interface index (set/getsockopt with 0.0.0.0/8). 2001-01-15 13:19:12 +00:00
christos
88f6fad445 Revert 1.18 -> 1.19; causes infinite loops on machines that use ppp and
do active routing.
2000-06-11 23:43:17 +00:00
christos
59fd2f8be8 remove the once hack; vjs says it is not necessary with the monotonic
time kludge. We'll see.
2000-03-02 20:57:42 +00:00
bouyer
a1d8cb9593 Ignore RTM_OIFINFO messages (send by a COMPAT_14 kernel). 1999-11-19 10:46:35 +00:00
christos
756b1291db Resolve conflicts. 1999-02-23 10:47:39 +00:00
christos
94b2d42842 Update to 980910 from ftp.rhyolite.com 1998-10-25 14:56:06 +00:00
christos
b2ae8c434d Avoid interraction between pppd and routed, by trying to discover new
interfaces every time there is a new route, irrespective of timeout period.
1998-08-26 17:50:32 +00:00
thorpej
6d8ef4df7c Merge the 980602 RIPv2/Router Discovery routed. Fixes floods of host routes
generated when one of the interfaces on the network does not support
broadcast (e.g. HIPPI or ATM).

From Vern Schryver <vjs@rhyolite.com>
1998-06-02 18:02:55 +00:00
lukem
13992bec12 use memmove, memcmp, memset instead of bcopy, bcmp, bzero 1997-09-15 11:51:54 +00:00
lukem
3f50343aa8 * cleanup for WARNS=1
* deprecate register
* bcmp, bcopy, bzero, rindex -> memcmp, memmove, memset, strrchr
* correct use of .Nm
1997-09-15 10:38:11 +00:00
christos
e7512e5a5e - resolve conflicts.
- remove md5 stuff; it is in libc.
- define MCAST_PPP_BUG, until we fix if_ppp.c
1997-02-03 22:02:51 +00:00
christos
4d3fba5988 - resolve conflicts
- try to follow rcsid style more closely
- fix rn_walktree callback routine signatures.
1996-09-24 16:24:12 +00:00
thorpej
fc1a524603 - Finished up merge.
- Add some prototypes and definitions for types as necessary,
  wrapped in __NetBSD__ to maintain portability.

- Explicit size types in structures that go out the wire.

- RCS id police.
1996-08-10 01:28:58 +00:00
christos
4841cf2927 - Support rip version 2.
- Add ansi prototypes.
- Be less internet centric.
- Convert queues to use <sys/queue.h> so we don't need -lcompat
1995-06-20 22:25:51 +00:00
cgd
0114e805ce convert to new RCS Id conventions; reduce my headache 1995-03-18 14:54:19 +00:00
mycroft
4922d725cf Remove some more uses of obsolete functions. 1994-09-23 23:48:10 +00:00
mycroft
4c8599d370 Clean up import. 1994-05-13 08:02:16 +00:00
mycroft
e9d867ef50 Add RCS identifiers. 1993-08-01 17:54:45 +00:00
cgd
06be60083d changed "Id" to "Header" for rcsids 1993-03-23 00:22:59 +00:00
cgd
346aa5dd48 added rcs ids to all files 1993-03-22 08:04:00 +00:00
cgd
61f282557f initial import of 386bsd-0.1 sources 1993-03-21 09:45:37 +00:00