From fd91ae3325adfdc83f95a284caa746c000ad7e30 Mon Sep 17 00:00:00 2001 From: Ondrej Zajicek Date: Wed, 5 Nov 2008 22:36:49 +0100 Subject: Fix problem with local time changes. --- proto/ospf/packet.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'proto/ospf/packet.c') diff --git a/proto/ospf/packet.c b/proto/ospf/packet.c index ead4b86f..4e8dcaf0 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; } -- cgit v1.2.3