diff options
author | Pavel Machek <pavel@ucw.cz> | 1999-12-01 12:52:57 +0000 |
---|---|---|
committer | Pavel Machek <pavel@ucw.cz> | 1999-12-01 12:52:57 +0000 |
commit | 639e62855495fcf461c177373d8f5eb0d5d87332 (patch) | |
tree | 4d68acba497cb62f733914d5cb2652d30cb8e18d /proto/rip/rip.c | |
parent | 3daf783f95790682025ef03ac5b2f486943e6214 (diff) |
Actually check sequence numbers.
Diffstat (limited to 'proto/rip/rip.c')
-rw-r--r-- | proto/rip/rip.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/proto/rip/rip.c b/proto/rip/rip.c index cca329ec..63401337 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; |