From 37029305c671f4e2d091d6f6c22142634e409043 Mon Sep 17 00:00:00 2001 From: Neale Ranns Date: Fri, 10 Aug 2018 05:30:06 -0700 Subject: Use IP and MAC API types for neighbors use address_t and mac_address_t for IPv6 and ARP entries and all other API calls in ip.api aprat from the route ones, that will follow in a separate commit Change-Id: I67161737c2184d3f8fc1e79ebd2b55121c5b0191 Signed-off-by: Neale Ranns --- src/vnet/l2/l2_bvi.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/vnet/l2/l2_bvi.h') 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; } -- cgit 1.2.3-korg