diff options
author | Donatas Abraitis <donatas.abraitis@gmail.com> | 2019-12-31 10:07:44 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-31 10:07:44 +0100 |
commit | 1f1bc0e4541dc58ac4dd200461f1e843dd4b1f3e (patch) | |
tree | 6d11ef6ef8a0026661d5830b07da8835aafb5642 | |
parent | Merge pull request #5596 from donaldsharp/md5_doc (diff) | |
parent | bgpd: skip ra for blackhole nexthop type (diff) | |
download | frr-1f1bc0e4541dc58ac4dd200461f1e843dd4b1f3e.tar.xz frr-1f1bc0e4541dc58ac4dd200461f1e843dd4b1f3e.zip |
Merge pull request #5597 from chiragshah6/evpn_dev2
bgpd: skip ra for blackhole nexthop type
-rw-r--r-- | bgpd/bgp_nht.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bgpd/bgp_nht.c b/bgpd/bgp_nht.c index 0969c8e77..a50fc7d69 100644 --- a/bgpd/bgp_nht.c +++ b/bgpd/bgp_nht.c @@ -421,7 +421,8 @@ void bgp_parse_nexthop_update(int command, vrf_id_t vrf_id) if (peer && !peer->ifp && CHECK_FLAG(peer->flags, PEER_FLAG_CAPABILITY_ENHE) - && nhr.prefix.family == AF_INET6) { + && nhr.prefix.family == AF_INET6 + && nexthop->type != NEXTHOP_TYPE_BLACKHOLE) { struct interface *ifp; ifp = if_lookup_by_index(nexthop->ifindex, |