aboutsummaryrefslogtreecommitdiffstats
path: root/extcap
diff options
context:
space:
mode:
authorUli Heilmeier <uh@heilmeier.eu>2022-10-07 13:16:32 +0200
committerA Wireshark GitLab Utility <gerald+gitlab-utility@wireshark.org>2022-10-08 12:27:30 +0000
commita471aa76286b59da87dc361b3f29c2749616ef80 (patch)
tree9f85dd17f7e3cb1d6e99e18eccd47eebea90b13e /extcap
parent9ab1f35641d7d591dcf0cd5573f7f6770764a936 (diff)
sshdump: Add '-f ' for capture filter
Fixes #18420
Diffstat (limited to 'extcap')
-rw-r--r--extcap/sshdump.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/extcap/sshdump.c b/extcap/sshdump.c
index 66c9d9efe6..9323014125 100644
--- a/extcap/sshdump.c
+++ b/extcap/sshdump.c
@@ -195,7 +195,7 @@ static ssh_channel run_ssh_command(ssh_session sshs, const char* capture_command
if (count > 0)
count_str = ws_strdup_printf("-c %u", count);
- cmdline = ws_strdup_printf("%s dumpcap %s %s -w - %s %s",
+ cmdline = ws_strdup_printf("%s dumpcap %s %s -w - %s -f %s",
use_sudo ? "sudo" : "",
noprom ? "-p" : "",
*ifaces ? ifaces : "",