summaryrefslogtreecommitdiffstats
path: root/proto/rip/auth.c
diff options
context:
space:
mode:
authorOndrej Zajicek <santiago@crfreenet.org>2008-11-05 22:36:49 +0100
committerOndrej Zajicek <santiago@crfreenet.org>2008-11-05 22:36:49 +0100
commitfd91ae3325adfdc83f95a284caa746c000ad7e30 (patch)
treef05f759c9511ffda89fabadf1341a57adc5b542e /proto/rip/auth.c
parent1389f3699fc643dac6fd4d2f19fb59da3624a2fa (diff)
downloadbird-fd91ae3325adfdc83f95a284caa746c000ad7e30.tar
bird-fd91ae3325adfdc83f95a284caa746c000ad7e30.zip
Fix problem with local time changes.
Diffstat (limited to 'proto/rip/auth.c')
-rw-r--r--proto/rip/auth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/proto/rip/auth.c b/proto/rip/auth.c
index 8669e16..1f7050f 100644
--- a/proto/rip/auth.c
+++ b/proto/rip/auth.c
@@ -77,7 +77,7 @@ rip_incoming_authentication( struct proto *p, struct rip_block_auth *block, stru
WALK_LIST(ptmp, *l)
{
if (block->keyid != ptmp->id) continue;
- if ((ptmp->genfrom > now) || (ptmp->gento < now)) continue;
+ if ((ptmp->genfrom > now_real) || (ptmp->gento < now_real)) continue;
pass = ptmp;
break;
}