1
0
mirror of https://gitlab.labs.nic.cz/labs/bird.git synced 2024-05-11 16:54:54 +00:00

Fix problem with local time changes.

This commit is contained in:
Ondrej Zajicek
2008-11-05 22:36:49 +01:00
parent 1389f3699f
commit fd91ae3325
6 changed files with 81 additions and 20 deletions

View File

@@ -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;
}