Do't Quagga need multi-access check (Third-party nexhop) for IPv6 also in
bgp_announce_check() similar to bgp_multiaccess_check_v4 ().
and also I feel below change also required for IPv4.
@@ -1065,7 +1077,7 @@ bgp_announce_check (struct bgp_info *ri,
IN6_IS_ADDR_UNSPECIFIED(&attr->extra->mp_nexthop_global))
#endif /* HAVE_IPV6 */
|| (peer->sort == BGP_PEER_EBGP
- && bgp_multiaccess_check_v4 (attr->nexthop, peer->host,
peer->bgp) == 0))
+ && (p->family == AF_INET) && bgp_multiaccess_check_v4
(attr->nexthop, peer->host, peer->bgp) == 0))
{
/* Set IPv4 nexthop. */
if (p->family == AF_INET)
Regards
Srinivas K
_______________________________________________
Quagga-dev mailing list
[email protected]
https://lists.quagga.net/mailman/listinfo/quagga-dev