aboutsummaryrefslogtreecommitdiffstats
path: root/tshark.c
diff options
context:
space:
mode:
authorGuy Harris <gharris@sonic.net>2023-02-03 04:03:15 -0800
committerGuy Harris <gharris@sonic.net>2023-02-03 04:03:15 -0800
commit56651c4db184c0c66d9e2cdd6f1da47e1562aa45 (patch)
tree325e2657ee19e1fb163854eb6ffac0637495ca6e /tshark.c
parent85c134894a5fc2eb83ed723102b0366cd674cf0a (diff)
tshark: fix previous fix for memory leak.
Pass the correct filter variable to warn_about_capture_filter(); Fixes the fix for #18837.
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 0f8ceddd9e..e1c5172cdc 100644
--- a/tshark.c
+++ b/tshark.c
@@ -2135,7 +2135,7 @@ main(int argc, char *argv[])
extcap_cleanup();
#ifdef HAVE_LIBPCAP
- warn_about_capture_filter(rfilter);
+ warn_about_capture_filter(dfilter);
#endif
exit_status = INVALID_FILTER;