From b54d87f82e7d883421d589b63acf1d29e1c0db0f Mon Sep 17 00:00:00 2001 From: luwenpeng Date: Wed, 19 Jan 2022 11:03:04 +0800 Subject: [PATCH] =?UTF-8?q?TSG-9433=20=E5=BD=93vlan=20id=E4=B8=BA0?= =?UTF-8?q?=E6=97=B6=EF=BC=8C=E7=9B=B4=E6=8E=A5mirror=20decryption=20traff?= =?UTF-8?q?ic=EF=BC=8C=E4=B8=8D=E5=8A=A0vlan=E5=A4=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugin/business/traffic-mirror/src/entry.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/plugin/business/traffic-mirror/src/entry.cpp b/plugin/business/traffic-mirror/src/entry.cpp index b460489..3dd5135 100644 --- a/plugin/business/traffic-mirror/src/entry.cpp +++ b/plugin/business/traffic-mirror/src/entry.cpp @@ -606,11 +606,6 @@ int traffic_mirror_on_open_cb(const struct tfe_stream * stream, unsigned int thr rebuild_target->rewrite_as_target_vlan = 1; } - if (rebuild_target->vlan_tci <= 0) - { - goto detach; - } - me = ALLOC(struct traffic_mirror_me, 1); me->rebuild_ctx = traffic_mirror_rebuild_create(stream->addr, &c_ether_addr, &s_ether_addr, rebuild_target, instance->ethdev);