Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
VPP-651: Ensure sw_if_index to node mapping for L2 output path is only done via l2out...
[vpp.git]
/
src
/
vnet
/
l2
/
l2_input.c
diff --git
a/src/vnet/l2/l2_input.c
b/src/vnet/l2/l2_input.c
index
fbd75f2
..
3aa5331
100644
(file)
--- a/
src/vnet/l2/l2_input.c
+++ b/
src/vnet/l2/l2_input.c
@@
-703,10
+703,11
@@
set_int_l2_mode (vlib_main_t * vm, vnet_main_t * vnet_main, /* */
shg = 0; /* not used in xconnect */
}
shg = 0; /* not used in xconnect */
}
- /* set up split-horizon group */
+ /* set up split-horizon group
and set output feature bit
*/
config->shg = shg;
out_config = l2output_intf_config (sw_if_index);
out_config->shg = shg;
config->shg = shg;
out_config = l2output_intf_config (sw_if_index);
out_config->shg = shg;
+ out_config->feature_bitmap |= L2OUTPUT_FEAT_OUTPUT;
/*
* Test: remove this when non-IP features can be configured.
/*
* Test: remove this when non-IP features can be configured.