From 5b03a42489eb3adfa9c1aa8971e35649fcfe6014 Mon Sep 17 00:00:00 2001 From: Dario Lombardo Date: Tue, 13 Sep 2016 11:14:01 +0200 Subject: sshdump: remove -P. This option is incompatible with other capture binaries (like tcpdump). Change-Id: If93fca69f93b7833e7f8bb28b70311373f42f3f5 Reviewed-on: https://code.wireshark.org/review/17682 Petri-Dish: Dario Lombardo Tested-by: Petri Dish Buildbot Reviewed-by: Graham Bloice Reviewed-by: Dario Lombardo --- extcap/sshdump.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'extcap/sshdump.c') diff --git a/extcap/sshdump.c b/extcap/sshdump.c index 46d95b43e8..f5173c381e 100644 --- a/extcap/sshdump.c +++ b/extcap/sshdump.c @@ -142,7 +142,7 @@ static ssh_channel run_ssh_command(ssh_session sshs, const char* capture_bin, co if (count > 0) count_str = g_strdup_printf("-c %lu", count); - cmdline = g_strdup_printf("%s -i %s -P -w - -f %s %s", quoted_bin, quoted_iface, quoted_filter, + cmdline = g_strdup_printf("%s -i %s -w - -f %s %s", quoted_bin, quoted_iface, quoted_filter, count_str ? count_str : ""); g_debug("Running: %s", cmdline); -- cgit v1.2.3