X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvnet%2Fethernet%2Fnode.c;h=3cc501d05775cad77d528f3845b718938e8a6470;hb=88076749e663e35925c2212eb79e2ec4ce023772;hp=5e4fe1b796a190b81bdb78f592bef53d6d04b122;hpb=5beecec0766f49196bc1097c38e4ed2bed80dbd3;p=vpp.git diff --git a/src/vnet/ethernet/node.c b/src/vnet/ethernet/node.c index 5e4fe1b796a..3cc501d0577 100755 --- a/src/vnet/ethernet/node.c +++ b/src/vnet/ethernet/node.c @@ -76,7 +76,7 @@ format_ethernet_input_trace (u8 * s, va_list * va) return s; } -vlib_node_registration_t ethernet_input_node; +extern vlib_node_registration_t ethernet_input_node; typedef enum { @@ -850,8 +850,7 @@ ethernet_sw_interface_get_config (vnet_main_t * vnm, else if (si->sub.eth.flags.default_sub) { subint = &main_intf->default_subint; - *flags = SUBINT_CONFIG_MATCH_0_TAG | - SUBINT_CONFIG_MATCH_1_TAG | + *flags = SUBINT_CONFIG_MATCH_1_TAG | SUBINT_CONFIG_MATCH_2_TAG | SUBINT_CONFIG_MATCH_3_TAG; } else if ((si->sub.eth.flags.no_tags) || (si->sub.eth.raw_flags == 0))