summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOndrej Filip <feela@network.cz>2000-12-14 02:04:51 +0100
committerOndrej Filip <feela@network.cz>2000-12-14 02:04:51 +0100
commit32749f493fdaea31f70d8586597febacd2c511d9 (patch)
tree442beefd28cbcf4232d542bcc421d70a11055f55
parent501c5bb03fabd3d5721cfd8c82298f729d79e7a3 (diff)
downloadbird-32749f493fdaea31f70d8586597febacd2c511d9.tar
bird-32749f493fdaea31f70d8586597febacd2c511d9.zip
Hmm, nasty bug, LSUPD was not well flooded via PTP interfaces. :-(
-rw-r--r--proto/ospf/lsupd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/proto/ospf/lsupd.c b/proto/ospf/lsupd.c
index f0e6e5a..2293081 100644
--- a/proto/ospf/lsupd.c
+++ b/proto/ospf/lsupd.c
@@ -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);
}