summaryrefslogtreecommitdiffstats
path: root/proto/ospf/lsupd.c
diff options
context:
space:
mode:
Diffstat (limited to 'proto/ospf/lsupd.c')
-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);
}