]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
Bugfix.
authorOndrej Filip <feela@network.cz>
Wed, 8 Sep 2004 16:04:02 +0000 (16:04 +0000)
committerOndrej Filip <feela@network.cz>
Wed, 8 Sep 2004 16:04:02 +0000 (16:04 +0000)
proto/rip/auth.c

index bc0cc4b11ebf8e359f230172dc4a3c6a24bb0bd2..8669e166801b9427df5d27a59a5359b85d4b888b 100644 (file)
@@ -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;
       }