From 2cee01d1f7ce22b2f0b6e559020425c11d58b4d8 Mon Sep 17 00:00:00 2001 From: Klement Sekera Date: Thu, 8 Sep 2016 17:53:13 +0200 Subject: 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 --- vnet/vnet/interface.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'vnet') 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; -- cgit 1.2.3-korg