summaryrefslogtreecommitdiff
path: root/proto/rip/auth.c
diff options
context:
space:
mode:
authorOndrej Filip <feela@network.cz>2004-09-08 16:04:02 +0000
committerOndrej Filip <feela@network.cz>2004-09-08 16:04:02 +0000
commitc6dce04bed40959b331a5b79aadd11c3b34d4af5 (patch)
tree6ea06001c53df18602bfea6c6dd67da72a29bd8f /proto/rip/auth.c
parent27e3e5e0c95b068111bf00d7dceb473dc77a93f2 (diff)
Bugfix.
Diffstat (limited to 'proto/rip/auth.c')
-rw-r--r--proto/rip/auth.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/proto/rip/auth.c b/proto/rip/auth.c
index bc0cc4b1..8669e166 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;
}