summaryrefslogtreecommitdiffstats
path: root/src/vnet/ethernet/ethernet.h
diff options
context:
space:
mode:
authorMike Bly <mbly@ciena.com>2018-09-24 10:13:06 -0700
committerJohn Lo <loj@cisco.com>2018-10-02 22:14:25 +0000
commit88076749e663e35925c2212eb79e2ec4ce023772 (patch)
tree23b7c614ae93b4c4d3129ee134802932ef308f0c /src/vnet/ethernet/ethernet.h
parent819d5fdb39526386ee8fe4a8729f960e84443cbd (diff)
Enabled untagged vs default functionality
Removed 0-tags attribute for default-sub-if config Moved default-sub-if check before untagged Change-Id: I68043445aa2f79846e0743567b9015257fd87f8d Signed-off-by: Mike Bly <mbly@ciena.com>
Diffstat (limited to 'src/vnet/ethernet/ethernet.h')
-rw-r--r--src/vnet/ethernet/ethernet.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/vnet/ethernet/ethernet.h b/src/vnet/ethernet/ethernet.h
index cc44c4e2cf0..ece7aa58217 100644
--- a/src/vnet/ethernet/ethernet.h
+++ b/src/vnet/ethernet/ethernet.h
@@ -529,13 +529,13 @@ eth_identify_subint (vnet_hw_interface_t * hi,
if ((subint->flags & match_flags) == match_flags)
goto matched;
- // check for untagged interface
- subint = &main_intf->untagged_subint;
+ // check for default interface
+ subint = &main_intf->default_subint;
if ((subint->flags & match_flags) == match_flags)
goto matched;
- // check for default interface
- subint = &main_intf->default_subint;
+ // check for untagged interface
+ subint = &main_intf->untagged_subint;
if ((subint->flags & match_flags) == match_flags)
goto matched;