Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bgpd: split nexthop-local unchanged peer subgroup
5bb99cc ("bgpd: reset ipv6 invalid link-local nexthop") now resets the link-local when originating and destination peers are not on the same network segment. However, it does not work all the time. The fix compares the 'from' and 'peer' global IPv6 address. However, 'peer' refers to one of the peers of subgroup. The subgroup may contain peers located on different network segment. Split nexthop-local unchanged peer subgroup by network segment. Fixes: 5bb99cc ("bgpd: reset ipv6 invalid link-local nexthop") Signed-off-by: Louis Scalbert <[email protected]>
- Loading branch information