From eb436e16fd85340d3403a033ee86f973428a2f08 Mon Sep 17 00:00:00 2001 From: Ondrej Filip Date: Tue, 6 Jun 2000 00:08:27 +0000 Subject: NBMA networks seems to work, but this should be better. :-) --- proto/ospf/lsupd.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'proto/ospf/lsupd.c') diff --git a/proto/ospf/lsupd.c b/proto/ospf/lsupd.c index e28b6a7..8059c36 100644 --- a/proto/ospf/lsupd.c +++ b/proto/ospf/lsupd.c @@ -149,7 +149,9 @@ flood_lsa(struct ospf_neighbor *n, struct ospf_lsa_header *hn, if(ifa->type==OSPF_IT_NBMA) { - sk_send_to_agt(sk ,len, ifa, NEIGHBOR_EXCHANGE); + if((ifa->state==OSPF_IS_BACKUP)||(ifa->state==OSPF_IS_DR)) + sk_send_to_agt(sk ,len, ifa, NEIGHBOR_EXCHANGE); + else sk_send_to_bdr(sk ,len, ifa); } else { -- cgit v1.2.3