diff options
author | Neale Ranns <nranns@cisco.com> | 2017-05-30 07:30:04 -0700 |
---|---|---|
committer | Damjan Marion <dmarion.lists@gmail.com> | 2017-06-06 15:37:12 +0000 |
commit | 30d0fd4804cf3526eea155cf600f2d3de2629038 (patch) | |
tree | 3ef6b0ff63b64e7b231bcb9ae3721bd7608485f9 /src/vnet/ethernet/node.c | |
parent | 761787bd0bcfcedf109bc8b37536a9ac92698064 (diff) |
Packets recieved on VLAN-0 map to the main interface
Change-Id: I21b1ad39275495d4d006023b58f630a213445854
Signed-off-by: Neale Ranns <nranns@cisco.com>
Diffstat (limited to 'src/vnet/ethernet/node.c')
-rwxr-xr-x | src/vnet/ethernet/node.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vnet/ethernet/node.c b/src/vnet/ethernet/node.c index 13474a43ad0..8967cebefee 100755 --- 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; + if (0 == *outer_id) + *match_flags &= ~SUBINT_CONFIG_MATCH_1_TAG; *type = clib_net_to_host_u16 (h0->type); |