aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/span
diff options
context:
space:
mode:
authorPavel Kotucek <pkotucek@cisco.com>2017-01-24 08:26:31 +0100
committerDamjan Marion <dmarion.lists@gmail.com>2017-01-25 16:01:23 +0000
commit5663409ba0c795eabf8179d8f705c5718b8509cc (patch)
treed86b7c1f25c4ea177910de37722a5401a5ac6d35 /src/vnet/span
parente0545ef85ab136a51c42319935834d08a35eaa90 (diff)
span: tx functionality
span-output (tx) was enabled on wrong arc_name Change-Id: Ic21dfaec35c975de79abec66421b353637ac9394 Signed-off-by: Pavel Kotucek <pkotucek@cisco.com>
Diffstat (limited to 'src/vnet/span')
-rw-r--r--src/vnet/span/span.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vnet/span/span.c b/src/vnet/span/span.c
index 7b5816c79f2..bc244eff36d 100644
--- a/src/vnet/span/span.c
+++ b/src/vnet/span/span.c
@@ -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;