aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/gbp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/gbp')
-rw-r--r--src/plugins/gbp/gbp_endpoint.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/plugins/gbp/gbp_endpoint.c b/src/plugins/gbp/gbp_endpoint.c
index 91505daee2a..cffa6da836c 100644
--- a/src/plugins/gbp/gbp_endpoint.c
+++ b/src/plugins/gbp/gbp_endpoint.c
@@ -179,13 +179,11 @@ gbp_endpoint_update (u32 sw_if_index,
if (ip46_address_is_ip4 (&gbpe->ge_key->gek_ip))
send_ip4_garp_w_addr (vlib_get_main (),
&gbpe->ge_key->gek_ip.ip4,
- vnet_get_sup_hw_interface
- (vnet_get_main (), gepg->gepg_uplink_sw_if_index));
+ gepg->gepg_uplink_sw_if_index);
else
send_ip6_na_w_addr (vlib_get_main (),
&gbpe->ge_key->gek_ip.ip6,
- vnet_get_sup_hw_interface
- (vnet_get_main (), gepg->gepg_uplink_sw_if_index));
+ gepg->gepg_uplink_sw_if_index);
return (0);
}