TSG-9433 当vlan id为0时,直接mirror decryption traffic,不加vlan头

This commit is contained in:
luwenpeng
2022-01-19 11:03:04 +08:00
parent 94938311d7
commit b54d87f82e

View File

@@ -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);