Home | History | Annotate | Download | only in routed
History log of /src/sbin/routed/rdisc.c
RevisionDateAuthorComments
 1.17  09-May-2006  mrg change (mostly) int to socklen_t. GCC 4 doesn't like that int and
socklen_t are different signness.
 1.16  18-Mar-2006  christos Coverity CID 2432: Dereference before NULL check.
 1.15  27-Mar-2004  christos 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.
 1.14  30-Nov-2002  christos sync with routed 2.27
 1.13  02-Nov-2001  lukem branches: 1.13.2;
fix -Wshadow warnings
 1.12  10-Mar-2001  christos 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.
 1.11  15-Jan-2001  itojun specify interface by using interface index (set/getsockopt with 0.0.0.0/8).
 1.10  02-Mar-2000  christos branches: 1.10.4;
protability cast.
 1.9  23-Feb-1999  christos Resolve conflicts.
 1.8  25-Oct-1998  christos Update to 980910 from ftp.rhyolite.com
 1.7  02-Jun-1998  thorpej 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>
 1.6  15-Sep-1997  lukem * cleanup for WARNS=1
* deprecate register
* bcmp, bcopy, bzero, rindex -> memcmp, memmove, memset, strrchr
* correct use of .Nm
 1.5  03-Feb-1997  christos - resolve conflicts.
- remove md5 stuff; it is in libc.
- define MCAST_PPP_BUG, until we fix if_ppp.c
 1.4  24-Sep-1996  christos - resolve conflicts
- try to follow rcsid style more closely
- fix rn_walktree callback routine signatures.
 1.3  10-Aug-1996  mycroft Make sure to fill in the whole sockaddr_in when sending a discovery packet.
 1.2  10-Aug-1996  thorpej - 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.
 1.1  10-Aug-1996  thorpej branches: 1.1.1;
Initial revision
 1.1.1.5  23-Feb-1999  christos Latest version of routed(8) from Vernon Schryver <vjs@calcite.rhyolite.com>
 1.1.1.4  02-Jun-1998  thorpej Latest RIPv2/Router Discovery routed, from Vern Schryver <vjs@rhyolite.com>
 1.1.1.3  03-Feb-1997  christos New version from ftp.sgi.com:sgi/src/routed.tar.Z
 1.1.1.2  24-Sep-1996  christos Latest version of routed(8) from Vernon Schryver <vjs@sgi.com>
 1.1.1.1  10-Aug-1996  thorpej A leaner, meaner routed(8), implementing RIPv1, RIPv2, and ICMP Router
Discovery, courtesy of Vernon Schryver <vjs@sgi.com>. Thanks!
 1.10.4.1  07-Apr-2004  jmc Pullup patch (requested by ws in ticket #131)

Fix invalid cast wrt router discovery.
 1.13.2.1  01-Apr-2004  jmc Pullup patch (requested by ws in ticket #1642)

Fix invalid cast wrt router discovery.

RSS XML Feed