summaryrefslogtreecommitdiff
path: root/ospfd/ospf_ldp_sync.c
diff options
context:
space:
mode:
authorTashana Mehta-Wilson <tashana.mehta-wilson@alliedtelesis.co.nz>2020-09-29 13:47:53 +1300
committerTashana Mehta-Wilson <tashana.mehta-wilson@alliedtelesis.co.nz>2020-09-29 15:30:56 +1300
commitd0df29bae85240a1e0af6c141fb6f7a6125d9da8 (patch)
tree60ef563f8a1d35924ce909400ee4a717be414e8f /ospfd/ospf_ldp_sync.c
parentf9c84061708da00de983109d0815975822dfc53a (diff)
bfdd: Make new multihop peer if local-address is unique
Previously if there were two multihop peers created that had the same peer address but different local addresses then the second peer to be created would be merged with the first one and niether would be able to be deleted. This was due to an issue in the function bfd_key_lookup(). When the second peer was created its key would be sent into the lookup function and would reach the last section, even though it shouldn't have. A check has been placed around the section so that it will not be entered if a peer is multihop. Signed-off-by: Tashana Mehta-Wilson <tashana.mehta-wilson@alliedtelesis.co.nz>
Diffstat (limited to 'ospfd/ospf_ldp_sync.c')
0 files changed, 0 insertions, 0 deletions