summaryrefslogtreecommitdiffstats
path: root/proto/ospf/packet.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/ospf/packet.c
parent1389f3699fc643dac6fd4d2f19fb59da3624a2fa (diff)
downloadbird-fd91ae3325adfdc83f95a284caa746c000ad7e30.tar
bird-fd91ae3325adfdc83f95a284caa746c000ad7e30.zip
Fix problem with local time changes.
Diffstat (limited to 'proto/ospf/packet.c')
-rw-r--r--proto/ospf/packet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/proto/ospf/packet.c b/proto/ospf/packet.c
index ead4b86..4e8dcaf 100644
--- a/proto/ospf/packet.c
+++ b/proto/ospf/packet.c
@@ -165,7 +165,7 @@ ospf_pkt_checkauth(struct ospf_neighbor *n, struct ospf_iface *ifa, struct ospf_
WALK_LIST(ptmp, *(ifa->passwords))
{
if (pkt->u.md5.keyid != ptmp->id) continue;
- if ((ptmp->accfrom > now) || (ptmp->accto < now)) continue;
+ if ((ptmp->accfrom > now_real) || (ptmp->accto < now_real)) continue;
pass = ptmp;
break;
}