]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
Hmm, nasty bug, LSUPD was not well flooded via PTP interfaces. :-(
authorOndrej Filip <feela@network.cz>
Thu, 14 Dec 2000 01:04:51 +0000 (01:04 +0000)
committerOndrej Filip <feela@network.cz>
Thu, 14 Dec 2000 01:04:51 +0000 (01:04 +0000)
proto/ospf/lsupd.c

index f0e6e5a2b8632a90210f3e800eac1fa98cad11c6..2293081f0c2d333729e521e0304ca9b3a38c0747 100644 (file)
@@ -157,7 +157,8 @@ flood_lsa(struct ospf_neighbor *n, struct ospf_lsa_header *hn,
       }
       else
       {
-        if((ifa->state==OSPF_IS_BACKUP)||(ifa->state==OSPF_IS_DR))
+        if((ifa->state==OSPF_IS_BACKUP)||(ifa->state==OSPF_IS_DR)||
+         (ifa->type==OSPF_IT_PTP))
           sk_send_to(sk,len, AllSPFRouters, OSPF_PROTO);
        else sk_send_to(sk,len, AllDRouters, OSPF_PROTO);
       }