From c6dce04bed40959b331a5b79aadd11c3b34d4af5 Mon Sep 17 00:00:00 2001 From: Ondrej Filip Date: Wed, 8 Sep 2004 16:04:02 +0000 Subject: Bugfix. --- proto/rip/auth.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'proto') diff --git a/proto/rip/auth.c b/proto/rip/auth.c index bc0cc4b..8669e16 100644 --- a/proto/rip/auth.c +++ b/proto/rip/auth.c @@ -76,8 +76,8 @@ rip_incoming_authentication( struct proto *p, struct rip_block_auth *block, stru WALK_LIST(ptmp, *l) { - if (block->keyid != pass->id) continue; - if ((pass->genfrom > now) || (pass->gento < now)) continue; + if (block->keyid != ptmp->id) continue; + if ((ptmp->genfrom > now) || (ptmp->gento < now)) continue; pass = ptmp; break; } -- cgit v1.2.3