VPP-392 properly pass flags from vnet_hw_interface_set_flags_helper to 34/2734/2
authorKlement Sekera <ksekera@cisco.com>
Thu, 8 Sep 2016 15:53:13 +0000 (17:53 +0200)
committerDamjan Marion <dmarion.lists@gmail.com>
Mon, 12 Sep 2016 07:57:54 +0000 (07:57 +0000)
vnet_main->hw_interface_link_up_down_functions

Change-Id: I7aacaebade695e8fec8306426f693f287b605ed8
Signed-off-by: Klement Sekera <ksekera@cisco.com>
vnet/vnet/interface.c

index 3a12085..772c3bc 100644 (file)
@@ -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;