From: Paul Jakma Date: Mon, 11 Jan 2010 16:22:12 +0000 (+0000) Subject: ospfd: OSPF_MIN_LS_ARRIVAL compare should be >= to match ospf_flood X-Git-Tag: frr-2.0-rc1~2124 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=2c9f8e36c4de4bb1412364b79c3a44881208266e;p=mirror%2Ffrr.git 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. --- diff --git a/ospfd/ospf_packet.c b/ospfd/ospf_packet.c index 1066e64fb7..57ed114040 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);