span: tx functionality
span-output (tx) was enabled on wrong arc_name Change-Id: Ic21dfaec35c975de79abec66421b353637ac9394 Signed-off-by: Pavel Kotucek <pkotucek@cisco.com>
This commit is contained in:
Pavel Kotucek
committed by
Damjan Marion
parent
e0545ef85a
commit
5663409ba0
@ -61,11 +61,11 @@ span_add_delete_entry (vlib_main_t * vm,
|
||||
src_sw_if_index, 0, 0, 0);
|
||||
|
||||
if (new_num_rx_mirror_ports == 1 && si->num_rx_mirror_ports == 0)
|
||||
vnet_feature_enable_disable ("device-input", "span-output",
|
||||
vnet_feature_enable_disable ("interface-output", "span-output",
|
||||
src_sw_if_index, 1, 0, 0);
|
||||
|
||||
if (new_num_rx_mirror_ports == 0 && si->num_rx_mirror_ports == 1)
|
||||
vnet_feature_enable_disable ("device-input", "span-output",
|
||||
vnet_feature_enable_disable ("interface-output", "span-output",
|
||||
src_sw_if_index, 0, 0, 0);
|
||||
|
||||
si->num_rx_mirror_ports = new_num_rx_mirror_ports;
|
||||
|
Reference in New Issue
Block a user