diff options
-rw-r--r-- | proto/rip/auth.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; } |