aboutsummaryrefslogtreecommitdiffstats
path: root/tshark.c
diff options
context:
space:
mode:
authorJoão Valverde <j@v6e.pt>2022-11-21 12:42:37 +0000
committerJoão Valverde <j@v6e.pt>2022-11-30 17:36:17 +0000
commit84e75be5c60d0b7932f2b5aa3a5cab48ac42ddbe (patch)
tree4084eb5264e28cdc1d743b92c72937063df25c5e /tshark.c
parent4b0bf62791c093e242565739aa0ec7a5ad335dfe (diff)
dfilter: Add optimization flag
When we are just testing code to see if it compiles performing optimizations is wasteful. Add an option to disable them.
Diffstat (limited to 'tshark.c')
-rw-r--r--tshark.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tshark.c b/tshark.c
index f00ba45ea1..0b4442e91b 100644
--- a/tshark.c
+++ b/tshark.c
@@ -626,7 +626,7 @@ _compile_dfilter(const char *text, dfilter_t **dfp, const char *caller)
return FALSE;
}
- ok = dfilter_compile_real(expanded, dfp, &df_err, caller, FALSE, FALSE);
+ ok = dfilter_compile_real(expanded, dfp, &df_err, caller, FALSE, FALSE, TRUE);
if (!ok ) {
cmdarg_err("%s", df_err->msg);