summaryrefslogtreecommitdiff
path: root/proto/rip/rip.c
diff options
context:
space:
mode:
authorPavel Machek <pavel@ucw.cz>1999-11-25 15:03:12 +0000
committerPavel Machek <pavel@ucw.cz>1999-11-25 15:03:12 +0000
commit1a509a6310cb2a5211bf3ac9fd963f06d9109cb1 (patch)
tree20f0c934acd44acd6ec17df927ef326bdb5c4c6f /proto/rip/rip.c
parentd3702d57fd5357e9a11ada6c46769a79da8e547a (diff)
md5 authentication seems to work.
Diffstat (limited to 'proto/rip/rip.c')
-rw-r--r--proto/rip/rip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/proto/rip/rip.c b/proto/rip/rip.c
index 16c61cf5..cca329ec 100644
--- a/proto/rip/rip.c
+++ b/proto/rip/rip.c
@@ -352,7 +352,7 @@ rip_process_packet( struct proto *p, struct rip_packet *packet, int num, ip_addr
struct rip_block *block = &packet->block[i];
if (block->family == 0xffff) {
if (i)
- BAD( "Authentication header is not the first" );
+ continue; /* md5 tail has this family */
if (rip_incoming_authentication(p, (void *) block, packet, num))
BAD( "Authentication failed" );
authenticated = 1;