aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/unittest/bier_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/unittest/bier_test.c')
-rw-r--r--src/plugins/unittest/bier_test.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/unittest/bier_test.c b/src/plugins/unittest/bier_test.c
index d15ee595b64..087da6fbe09 100644
--- a/src/plugins/unittest/bier_test.c
+++ b/src/plugins/unittest/bier_test.c
@@ -127,6 +127,9 @@ bier_test_mk_intf (u32 ninterfaces)
&tm->hw_if_indicies[i],
/* flag change */ 0);
+ error = vnet_hw_interface_set_flags(vnet_get_main(),
+ tm->hw_if_indicies[i],
+ VNET_HW_INTERFACE_FLAG_LINK_UP);
BIER_TEST((NULL == error), "ADD interface %d", i);
tm->hw[i] = vnet_get_hw_interface(vnet_get_main(),