summaryrefslogtreecommitdiffstats
path: root/src/vnet/l2/l2_bvi.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/vnet/l2/l2_bvi.h')
-rw-r--r--src/vnet/l2/l2_bvi.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/l2/l2_bvi.h b/src/vnet/l2/l2_bvi.h
index 7abe462054e..51c8dac23e4 100644
--- a/src/vnet/l2/l2_bvi.h
+++ b/src/vnet/l2/l2_bvi.h
@@ -46,7 +46,7 @@ l2_to_bvi (vlib_main_t * vlib_main,
{
vnet_hw_interface_t *hi =
vnet_get_sup_hw_interface (vnet_main, bvi_sw_if_index);
- if (!eth_mac_equal (e0->dst_address, hi->hw_address))
+ if (!ethernet_mac_address_equal (e0->dst_address, hi->hw_address))
return TO_BVI_ERR_BAD_MAC;
}