This commit is contained in:
Ondrej Filip 2004-09-08 16:04:02 +00:00
parent 27e3e5e0c9
commit c6dce04bed

View file

@ -76,8 +76,8 @@ rip_incoming_authentication( struct proto *p, struct rip_block_auth *block, stru
WALK_LIST(ptmp, *l) WALK_LIST(ptmp, *l)
{ {
if (block->keyid != pass->id) continue; if (block->keyid != ptmp->id) continue;
if ((pass->genfrom > now) || (pass->gento < now)) continue; if ((ptmp->genfrom > now) || (ptmp->gento < now)) continue;
pass = ptmp; pass = ptmp;
break; break;
} }