diff options
author | Dario Lombardo <lomato@gmail.com> | 2016-09-13 11:14:01 +0200 |
---|---|---|
committer | Dario Lombardo <lomato@gmail.com> | 2016-09-13 10:37:00 +0000 |
commit | 5b03a42489eb3adfa9c1aa8971e35649fcfe6014 (patch) | |
tree | e040ff5a2080e0f359bf5ea036fc2824c1bfb69b /extcap/sshdump.c | |
parent | 9c1e9b27f4cf549d3ed9a6d76e1469a84e447fda (diff) | |
download | wireshark-5b03a42489eb3adfa9c1aa8971e35649fcfe6014.tar.gz |
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 <lomato@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Graham Bloice <graham.bloice@trihedral.com>
Reviewed-by: Dario Lombardo <lomato@gmail.com>
Diffstat (limited to 'extcap/sshdump.c')
-rw-r--r-- | extcap/sshdump.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |