diff options
author | Pavel Kotucek <pkotucek@cisco.com> | 2017-01-24 08:26:31 +0100 |
---|---|---|
committer | Pavel Kotucek <pkotucek@cisco.com> | 2017-01-26 16:02:37 +0100 |
commit | e5bf04dc3c0ee5944a81180fb6418c2d3c7c8743 (patch) | |
tree | 175cbf576f818059742febb1fce9929980cff33f | |
parent | 4831dc5ddfd438892a3f2304a564a78a0adc3ad3 (diff) |
span: tx functionality
span-output (tx) was enabled on wrong arc_name
Change-Id: Ic21dfaec35c975de79abec66421b353637ac9394
Signed-off-by: Pavel Kotucek <pkotucek@cisco.com>
-rw-r--r-- | vnet/vnet/span/span.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vnet/vnet/span/span.c b/vnet/vnet/span/span.c index 7b5816c79f2..bc244eff36d 100644 --- a/vnet/vnet/span/span.c +++ b/vnet/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; |