summaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/tracedump/tracedump.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/plugins/tracedump/tracedump.c b/src/plugins/tracedump/tracedump.c
index 53dc1a9e4d6..ab86ef987e2 100644
--- a/src/plugins/tracedump/tracedump.c
+++ b/src/plugins/tracedump/tracedump.c
@@ -102,16 +102,6 @@ vl_api_trace_capture_packets_t_handler (vl_api_trace_capture_packets_t * mp)
goto done;
}
- if (filter)
- {
- if (vlib_enable_disable_pkt_trace_filter (1) < 0) /* enable */
- {
- /* FIXME: Make a new error like "UNSUPPORTED_NODE_OPERATION"? */
- rv = VNET_API_ERROR_NO_SUCH_NODE;
- goto done;
- }
- }
-
if (pre_clear)
vlib_trace_stop_and_clear ();