aboutsummaryrefslogtreecommitdiffstats
path: root/vnet
diff options
context:
space:
mode:
authorKlement Sekera <ksekera@cisco.com>2016-09-08 17:53:13 +0200
committerDamjan Marion <dmarion.lists@gmail.com>2016-09-12 07:57:54 +0000
commit2cee01d1f7ce22b2f0b6e559020425c11d58b4d8 (patch)
tree48998736c13068a653c32155b62bb9853fab9288 /vnet
parent6ef7bb993e0504d62e2de8a9201f8cb4c296a83a (diff)
VPP-392 properly pass flags from vnet_hw_interface_set_flags_helper to
vnet_main->hw_interface_link_up_down_functions Change-Id: I7aacaebade695e8fec8306426f693f287b605ed8 Signed-off-by: Klement Sekera <ksekera@cisco.com>
Diffstat (limited to 'vnet')
-rw-r--r--vnet/vnet/interface.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/vnet/vnet/interface.c b/vnet/vnet/interface.c
index 3a12085da29..772c3bca75f 100644
--- a/vnet/vnet/interface.c
+++ b/vnet/vnet/interface.c
@@ -343,8 +343,7 @@ vnet_hw_interface_set_flags_helper (vnet_main_t * vnm, u32 hw_if_index,
goto done;
error = call_elf_section_interface_callbacks
- (vnm, hw_if_index, is_create,
- vnm->hw_interface_link_up_down_functions);
+ (vnm, hw_if_index, flags, vnm->hw_interface_link_up_down_functions);
if (error)
goto done;