]> git.proxmox.com Git - mirror_frr.git/commit - ospf6d/ospf6_interface.c
ospf6d: fix selection of NSSA forwarding address
authorRenato Westphal <renato@opensourcerouting.org>
Wed, 6 Oct 2021 00:25:55 +0000 (21:25 -0300)
committerRenato Westphal <renato@opensourcerouting.org>
Wed, 6 Oct 2021 00:25:55 +0000 (21:25 -0300)
commit5f2fe4bb77662abca01557ed5808b7d0d8612e1f
tree5b9535c05b778f644918123ffe6b77a2db1d30cd
parent576e842480034f99b5757f0b0b63b5bbb586ccf8
ospf6d: fix selection of NSSA forwarding address

Change ospf6_get_nssa_fwd_addr() to try finding a global address
on any interface of the area and not on the first one only.

Additionally, do a micro-optimization in
ospf6_interface_get_global_address() to return as soon as a global
address is found.

Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
ospf6d/ospf6_interface.c
ospf6d/ospf6_nssa.c