X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvnet%2Fethernet%2Fp2p_ethernet_input.c;h=2cae97d7ba96ca532350e5779150acb4d7341580;hb=5100aa9;hp=74e3bb883cfc88917a57391cc82e45cc589697e1;hpb=067cd6229a47ea3ba8b59a2a04090e80afb5bd2c;p=vpp.git diff --git a/src/vnet/ethernet/p2p_ethernet_input.c b/src/vnet/ethernet/p2p_ethernet_input.c index 74e3bb883cf..2cae97d7ba9 100644 --- a/src/vnet/ethernet/p2p_ethernet_input.c +++ b/src/vnet/ethernet/p2p_ethernet_input.c @@ -107,8 +107,8 @@ p2p_ethernet_input_node_fn (vlib_main_t * vm, en1 = vlib_buffer_get_current (b1); sw_if_index1 = vnet_buffer (b1)->sw_if_index[VLIB_RX]; - vnet_feature_next (sw_if_index0, &next0, b0); - vnet_feature_next (sw_if_index1, &next1, b1); + vnet_feature_next (&next0, b0); + vnet_feature_next (&next1, b1); rx0 = p2p_ethernet_lookup (sw_if_index0, en0->src_address); rx1 = p2p_ethernet_lookup (sw_if_index1, en1->src_address); @@ -186,7 +186,7 @@ p2p_ethernet_input_node_fn (vlib_main_t * vm, en0 = vlib_buffer_get_current (b0); sw_if_index0 = vnet_buffer (b0)->sw_if_index[VLIB_RX]; - vnet_feature_next (sw_if_index0, &next0, b0); + vnet_feature_next (&next0, b0); rx0 = p2p_ethernet_lookup (sw_if_index0, en0->src_address); if (rx0 != ~0)