TSG-9433 当vlan id为0时,直接mirror decryption traffic,不加vlan头
This commit is contained in:
@@ -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;
|
rebuild_target->rewrite_as_target_vlan = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (rebuild_target->vlan_tci <= 0)
|
|
||||||
{
|
|
||||||
goto detach;
|
|
||||||
}
|
|
||||||
|
|
||||||
me = ALLOC(struct traffic_mirror_me, 1);
|
me = ALLOC(struct traffic_mirror_me, 1);
|
||||||
me->rebuild_ctx = traffic_mirror_rebuild_create(stream->addr, &c_ether_addr, &s_ether_addr,
|
me->rebuild_ctx = traffic_mirror_rebuild_create(stream->addr, &c_ether_addr, &s_ether_addr,
|
||||||
rebuild_target, instance->ethdev);
|
rebuild_target, instance->ethdev);
|
||||||
|
|||||||
Reference in New Issue
Block a user