summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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;