Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Packets recieved on VLAN-0 map to the main interface
[vpp.git]
/
src
/
vnet
/
ethernet
/
node.c
diff --git
a/src/vnet/ethernet/node.c
b/src/vnet/ethernet/node.c
index
13474a4
..
8967ceb
100755
(executable)
--- a/
src/vnet/ethernet/node.c
+++ b/
src/vnet/ethernet/node.c
@@
-142,6
+142,8
@@
parse_header (ethernet_input_variant_t variant,
tag = clib_net_to_host_u16 (h0->priority_cfi_and_id);
*outer_id = tag & 0xfff;
tag = clib_net_to_host_u16 (h0->priority_cfi_and_id);
*outer_id = tag & 0xfff;
+ if (0 == *outer_id)
+ *match_flags &= ~SUBINT_CONFIG_MATCH_1_TAG;
*type = clib_net_to_host_u16 (h0->type);
*type = clib_net_to_host_u16 (h0->type);