span: tx functionality
span-output (tx) was enabled on wrong arc_name
Change-Id: Ic21dfaec35c975de79abec66421b353637ac9394
Signed-off-by: Pavel Kotucek <pkotucek@cisco.com>
diff --git a/src/vnet/span/span.c b/src/vnet/span/span.c
index 7b5816c..bc244ef 100644
--- a/src/vnet/span/span.c
+++ b/src/vnet/span/span.c
@@ -61,11 +61,11 @@
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;