History log of /netbsd/sbin/routed/rdisc.c (Results 1 – 17 of 17)
Revision Date Author Comments
# 0c37c63e 09-May-2006 mrg <mrg@NetBSD.org>

change (mostly) int to socklen_t. GCC 4 doesn't like that int and
socklen_t are different signness.


# 6672211d 18-Mar-2006 christos <christos@NetBSD.org>

Coverity CID 2432: Dereference before NULL check.


# 7ed77138 27-Mar-2004 christos <christos@NetBSD.org>

From Vernon Schryver:

Wolfgang Solfrank has explained the problem with router discovery
in `routed` in a way I can understand.

Let's assume that the configured preference of the interface is 5.
Thi

From Vernon Schryver:

Wolfgang Solfrank has explained the problem with router discovery
in `routed` in a way I can understand.

Let's assume that the configured preference of the interface is 5.
This gets converted to 0x80000005 through the use of the UNSIGN_PREF
macro. Later on, this value gets put into the PREF macro, which
compares it against the interface metric(s) (let's assume those
values to be 0 for now). Of course the 0x80000005, cast to int,
is much less than 0, so the clamping rule is triggered, which
gives us a value of 1. This is then converted via SIGN_PREF into
0x80000001 and put into the message. Certainly, this isn't what
was intended.

show more ...


# f93fe60a 30-Nov-2002 christos <christos@NetBSD.org>

sync with routed 2.27


# cbbd79f7 02-Nov-2001 lukem <lukem@NetBSD.org>

fix -Wshadow warnings


# 4fea751d 10-Mar-2001 christos <christos@NetBSD.org>

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

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.

show more ...


# 7846de58 15-Jan-2001 itojun <itojun@NetBSD.org>

specify interface by using interface index (set/getsockopt with 0.0.0.0/8).


# 2c77d444 02-Mar-2000 christos <christos@NetBSD.org>

protability cast.


# 756b1291 23-Feb-1999 christos <christos@NetBSD.org>

Resolve conflicts.


# 94b2d428 25-Oct-1998 christos <christos@NetBSD.org>

Update to 980910 from ftp.rhyolite.com


# 6d8ef4df 02-Jun-1998 thorpej <thorpej@NetBSD.org>

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 <v

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>

show more ...


# 3f50343a 15-Sep-1997 lukem <lukem@NetBSD.org>

* cleanup for WARNS=1
* deprecate register
* bcmp, bcopy, bzero, rindex -> memcmp, memmove, memset, strrchr
* correct use of .Nm


# e7512e5a 03-Feb-1997 christos <christos@NetBSD.org>

- resolve conflicts.
- remove md5 stuff; it is in libc.
- define MCAST_PPP_BUG, until we fix if_ppp.c


# 4d3fba59 24-Sep-1996 christos <christos@NetBSD.org>

- resolve conflicts
- try to follow rcsid style more closely
- fix rn_walktree callback routine signatures.


# 408ead45 10-Aug-1996 mycroft <mycroft@NetBSD.org>

Make sure to fill in the whole sockaddr_in when sending a discovery packet.


# fc1a5246 10-Aug-1996 thorpej <thorpej@NetBSD.org>

- 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

- 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.

show more ...


# b1e0bd39 10-Aug-1996 thorpej <thorpej@NetBSD.org>

A leaner, meaner routed(8), implementing RIPv1, RIPv2, and ICMP Router
Discovery, courtesy of Vernon Schryver <vjs@sgi.com>. Thanks!