summaryrefslogtreecommitdiffstats
path: root/proto/rip/rip.c
diff options
context:
space:
mode:
authorPavel Machek <pavel@ucw.cz>1999-12-01 13:52:57 +0100
committerPavel Machek <pavel@ucw.cz>1999-12-01 13:52:57 +0100
commit639e62855495fcf461c177373d8f5eb0d5d87332 (patch)
tree4d68acba497cb62f733914d5cb2652d30cb8e18d /proto/rip/rip.c
parent3daf783f95790682025ef03ac5b2f486943e6214 (diff)
downloadbird-639e62855495fcf461c177373d8f5eb0d5d87332.tar
bird-639e62855495fcf461c177373d8f5eb0d5d87332.zip
Actually check sequence numbers.
Diffstat (limited to 'proto/rip/rip.c')
-rw-r--r--proto/rip/rip.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/proto/rip/rip.c b/proto/rip/rip.c
index cca329e..6340133 100644
--- a/proto/rip/rip.c
+++ b/proto/rip/rip.c
@@ -9,7 +9,7 @@
FIXME: IpV6 support: use right address for broadcasts
FIXME: IpV6 support: receive "route using" blocks
- FIXME: fold rip_connection into rip_interface?
+ FIXME (nonurgent): fold rip_connection into rip_interface?
We are not going to honour requests for sending part of
routing table. That would need to turn split horizont off,
@@ -353,7 +353,7 @@ rip_process_packet( struct proto *p, struct rip_packet *packet, int num, ip_addr
if (block->family == 0xffff) {
if (i)
continue; /* md5 tail has this family */
- if (rip_incoming_authentication(p, (void *) block, packet, num))
+ if (rip_incoming_authentication(p, (void *) block, packet, num, whotoldme))
BAD( "Authentication failed" );
authenticated = 1;
continue;
@@ -437,8 +437,6 @@ rip_timer(timer *t)
}
}
- /* FIXME: we need to do triggered updates */
-
DBG( "RIP: Broadcasting routing tables\n" );
{
struct rip_interface *rif;