summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlijia <[email protected]>2021-11-08 14:19:37 +0800
committerlijia <[email protected]>2021-11-08 14:19:37 +0800
commite1bf15c22236fe50892309a122534773cd63926b (patch)
tree757904e56091a63ec11a48caaea4e637aca6978e
parente683d478a8dcc320c13a09e7fee828a845be4cdd (diff)
TSG-8372, 修复不支持三层vlan跳转.
-rw-r--r--src/MESA_jump_layer.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/MESA_jump_layer.cpp b/src/MESA_jump_layer.cpp
index 34a05b1..8560061 100644
--- a/src/MESA_jump_layer.cpp
+++ b/src/MESA_jump_layer.cpp
@@ -1187,6 +1187,7 @@ static int vlan8021q_jump_to_layer(const char *raw_data, int raw_layer_type, in
/* QinQ */
case ETH_P_8021Q:
snprintf(_g_mesa_jump_layer_last_error, PIPE_BUF, "vlan8021q_jump_to_layer(): multiple VLAN combine to one layer!");
+ skip_len = -1;
assert(0);
break;