summaryrefslogtreecommitdiff
path: root/bgpd/bgp_mac.c
diff options
context:
space:
mode:
authorAmeya Dharkar <adharkar@vmware.com>2021-01-10 18:32:34 -0800
committerAmeya Dharkar <adharkar@vmware.com>2021-06-07 17:58:22 -0700
commit6c995628c1d175d255c2a02f108813090da4c4e2 (patch)
tree9df04ed7924f1ea0436bdd0a698bdf37b8f8dc9d /bgpd/bgp_mac.c
parentd4a88de3bb32f76573af09f6758c43773b335bf6 (diff)
bgpd: Generate and advertise gateway IP overlay index with EVPN RT-5
Gateway IP overlay index is generated for EVPN RT-5 when following CLI is configured. router bgp 100 vrf vrf-blue address-family l2vpn evpn advertise ipv4 unicast gateway-ip advertise ipv6 unicast gateway-ip BGP nexthop of the VRF IP/IPv6 route is set as the gateway IP of the corresponding EVPN RT-5 Signed-off-by: Ameya Dharkar <adharkar@vmware.com>
Diffstat (limited to 'bgpd/bgp_mac.c')
-rw-r--r--bgpd/bgp_mac.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bgpd/bgp_mac.c b/bgpd/bgp_mac.c
index 3d7bc08ac5..02b7e64869 100644
--- a/bgpd/bgp_mac.c
+++ b/bgpd/bgp_mac.c
@@ -200,8 +200,8 @@ static void bgp_process_mac_rescan_table(struct bgp *bgp, struct peer *peer,
AFI_L2VPN, SAFI_EVPN, &prd,
p, label_pnt, num_labels,
pi->addpath_rx_id ? 1 : 0,
- pi->addpath_rx_id, pfx_buf,
- sizeof(pfx_buf));
+ pi->addpath_rx_id, NULL,
+ pfx_buf, sizeof(pfx_buf));
zlog_debug(
"%s skip update of %s marked as removed",
peer->host, pfx_buf);