Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
ADJ: more thorough link up check
[vpp.git]
/
src
/
plugins
/
unittest
/
bier_test.c
diff --git
a/src/plugins/unittest/bier_test.c
b/src/plugins/unittest/bier_test.c
index
d15ee59
..
087da6f
100644
(file)
--- 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);
&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(),
BIER_TEST((NULL == error), "ADD interface %d", i);
tm->hw[i] = vnet_get_hw_interface(vnet_get_main(),