diff options
author | Paul Jakma <paul@quagga.net> | 2010-01-11 16:22:12 +0000 |
---|---|---|
committer | Paul Jakma <paul@quagga.net> | 2010-12-08 17:11:18 +0000 |
commit | 2c9f8e36c4de4bb1412364b79c3a44881208266e (patch) | |
tree | 71b5273262a386644ced282b8b257b5201ffee7c | |
parent | cfd670f3af25dfc34d5c06e30d21160e3dfb6421 (diff) |
ospfd: OSPF_MIN_LS_ARRIVAL compare should be >= to match ospf_flood
* ospf_packet.c: (ospf_ls_upd) the corresponding test on the arrival side
in (ospf_flood) is <, so this should be >=, not >, purely for consistency.
There is no practical effect here though.
-rw-r--r-- | ospfd/ospf_packet.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ospfd/ospf_packet.c b/ospfd/ospf_packet.c index 1066e64f..57ed1140 100644 --- a/ospfd/ospf_packet.c +++ b/ospfd/ospf_packet.c @@ -1946,7 +1946,7 @@ ospf_ls_upd (struct ip *iph, struct ospf_header *ospfh, quagga_gettime (QUAGGA_CLK_MONOTONIC, &now); if (tv_cmp (tv_sub (now, current->tv_orig), - int2tv (OSPF_MIN_LS_ARRIVAL)) > 0) + int2tv (OSPF_MIN_LS_ARRIVAL)) >= 0) /* Trap NSSA type later.*/ ospf_ls_upd_send_lsa (nbr, current, OSPF_SEND_PACKET_DIRECT); DISCARD_LSA (lsa, 8); |