diff options
author | Ondrej Filip <feela@network.cz> | 2012-05-15 23:40:37 +0200 |
---|---|---|
committer | Ondrej Filip <feela@network.cz> | 2012-05-15 23:40:37 +0200 |
commit | 3fe1d9e4a40663b93b59f5b6f9d61af9dc6a8ae6 (patch) | |
tree | b30ffa4a722d776714cfe979090ee15e5cd74376 /proto/ospf/lsack.c | |
parent | 72b2db8db7534c52e928618410ec1f18787752c8 (diff) | |
parent | 95127cbbb76e8870e029454a5313bc4b6ce69a4a (diff) |
Merge branch 'master' of ssh://git.nic.cz/bird
Diffstat (limited to 'proto/ospf/lsack.c')
-rw-r--r-- | proto/ospf/lsack.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/proto/ospf/lsack.c b/proto/ospf/lsack.c index 53422e53..00c50caf 100644 --- a/proto/ospf/lsack.c +++ b/proto/ospf/lsack.c @@ -97,7 +97,9 @@ ospf_lsack_send(struct ospf_neighbor *n, int queue) if (ifa->type == OSPF_IT_BCAST) { if ((ifa->state == OSPF_IS_DR) || (ifa->state == OSPF_IS_BACKUP)) - ospf_send_to(ifa, AllSPFRouters); + ospf_send_to_all(ifa); + else if (ifa->cf->real_bcast) + ospf_send_to_bdr(ifa); else ospf_send_to(ifa, AllDRouters); } @@ -124,7 +126,9 @@ ospf_lsack_send(struct ospf_neighbor *n, int queue) if (ifa->type == OSPF_IT_BCAST) { if ((ifa->state == OSPF_IS_DR) || (ifa->state == OSPF_IS_BACKUP)) - ospf_send_to(ifa, AllSPFRouters); + ospf_send_to_all(ifa); + else if (ifa->cf->real_bcast) + ospf_send_to_bdr(ifa); else ospf_send_to(ifa, AllDRouters); } |