summaryrefslogtreecommitdiffstats
path: root/ospf6d/ospf6_flood.c
diff options
context:
space:
mode:
authorMichael Rossberg <michael.rossberg@tu-ilmenau.de>2015-09-29 14:32:14 +0200
committerPaul Jakma <paul@quagga.net>2015-09-30 16:51:25 +0100
commitca8ec20b017393dbe91ff9e5ae2b7ff12872f869 (patch)
tree50e8e04092234deb5d7c3534f4b7cb16d5308f99 /ospf6d/ospf6_flood.c
parentd3ac733b41b69826ac4b5a86b881f33f3d383941 (diff)
downloadquagga-ca8ec20b017393dbe91ff9e5ae2b7ff12872f869.tar.bz2
quagga-ca8ec20b017393dbe91ff9e5ae2b7ff12872f869.tar.xz
ospf6d: Fix for fast OSPF convergence
Fixed use of OSPF_MIN_LS_ARRIVAL, which changed its unit from seconds to milliseconds
Diffstat (limited to 'ospf6d/ospf6_flood.c')
-rw-r--r--ospf6d/ospf6_flood.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ospf6d/ospf6_flood.c b/ospf6d/ospf6_flood.c
index 49ed6e26..815db7b7 100644
--- a/ospf6d/ospf6_flood.c
+++ b/ospf6d/ospf6_flood.c
@@ -863,7 +863,7 @@ ospf6_receive_lsa (struct ospf6_neighbor *from,
struct timeval now, res;
quagga_gettime (QUAGGA_CLK_MONOTONIC, &now);
timersub (&now, &old->installed, &res);
- if (res.tv_sec < OSPF_MIN_LS_ARRIVAL)
+ if (res.tv_sec < (OSPF_MIN_LS_ARRIVAL / 1000))
{
if (is_debug)
zlog_debug ("LSA can't be updated within MinLSArrival, discard");