summaryrefslogtreecommitdiffstats
path: root/src/vlib/trace.c
diff options
context:
space:
mode:
authorMohammed Hawari <mohammed@hawari.fr>2023-12-08 11:16:54 +0100
committerDamjan Marion <dmarion@0xa5.net>2023-12-14 16:29:53 +0000
commitbc67e9fd206ef3d6234960a61a7f9ab56a938ef2 (patch)
treee98ab163c36985f200dd2ac30b570e32c60e81c2 /src/vlib/trace.c
parenta474bc8a3b4307869e97e6d76a8b06cfcebea49a (diff)
bpf_trace_filter: allow use whithout classifier
Change-Id: I7ac5693ca547fe7249e7b6297bade70a6052b169 Type: improvement Signed-off-by: Mohammed Hawari <mohammed@hawari.fr>
Diffstat (limited to 'src/vlib/trace.c')
-rw-r--r--src/vlib/trace.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/vlib/trace.c b/src/vlib/trace.c
index 96da4975bc2..15355572cb9 100644
--- a/src/vlib/trace.c
+++ b/src/vlib/trace.c
@@ -463,13 +463,6 @@ cli_add_trace_buffer (vlib_main_t * vm,
goto done;
}
- u32 filter_table = classify_get_trace_chain ();
- if (filter && filter_table == ~0)
- {
- error = clib_error_create ("No packet trace filter configured...");
- goto done;
- }
-
trace_update_capture_options (add, node_index, filter, verbose);
done: