aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/l2/l2_efp_filter.c
diff options
context:
space:
mode:
authorNeale Ranns <nranns@cisco.com>2018-07-23 05:47:09 -0400
committerDave Barach <openvpp@barachs.net>2018-07-23 19:58:46 +0000
commit6b9b41c832332e9e9876edad51917230e4e9a4af (patch)
treebb23451e78af49e1cfdd5e473e9e532038c59075 /src/vnet/l2/l2_efp_filter.c
parentc79396e1f8ba395f3d6625f463cd9a6c8d505799 (diff)
L2 EFP: byteswap sw_if_index, enable flag can be u8 on .api
Change-Id: Ib99d02e84e468726feae4c386733da405b298e4f Signed-off-by: Neale Ranns <nranns@cisco.com>
Diffstat (limited to 'src/vnet/l2/l2_efp_filter.c')
-rw-r--r--src/vnet/l2/l2_efp_filter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/l2/l2_efp_filter.c b/src/vnet/l2/l2_efp_filter.c
index faf78153448..59f9f515d47 100644
--- a/src/vnet/l2/l2_efp_filter.c
+++ b/src/vnet/l2/l2_efp_filter.c
@@ -502,7 +502,7 @@ VLIB_INIT_FUNCTION (l2_efp_filter_init);
/** Enable/disable the EFP Filter check on the subinterface. */
void
-l2_efp_filter_configure (vnet_main_t * vnet_main, u32 sw_if_index, u32 enable)
+l2_efp_filter_configure (vnet_main_t * vnet_main, u32 sw_if_index, u8 enable)
{
/* set the interface flag */
l2output_intf_bitmap_enable (sw_if_index, L2OUTPUT_FEAT_EFP_FILTER, enable);