diff options
| author | luwenpeng <[email protected]> | 2022-01-19 11:03:04 +0800 |
|---|---|---|
| committer | luwenpeng <[email protected]> | 2022-01-19 11:04:10 +0800 |
| commit | b54d87f82e7d883421d589b63acf1d29e1c0db0f (patch) | |
| tree | 53831c77035c35c89ba1e7ef42e968a218fd897a /plugin | |
| parent | 94938311d74ed78b1ec92e7276600c1fc188b95a (diff) | |
TSG-9433 当vlan id为0时,直接mirror decryption traffic,不加vlan头v4.5.33-20220119
Diffstat (limited to 'plugin')
| -rw-r--r-- | plugin/business/traffic-mirror/src/entry.cpp | 5 |
1 files changed, 0 insertions, 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); |
