From b993c6f05c3a9c3bd8748ffe57928a8d790371f7 Mon Sep 17 00:00:00 2001 From: Dario Lombardo Date: Wed, 22 Nov 2017 10:20:44 +0100 Subject: sshdump: remove extra option check. This looked a bit odd since the capture filter is variable length. Removing it makes sshdump work. Change-Id: I454c6263c04019d5e8ecbecd2490dd10185f5c67 Reviewed-on: https://code.wireshark.org/review/24531 Petri-Dish: Dario Lombardo Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman --- extcap/sshdump.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/extcap/sshdump.c b/extcap/sshdump.c index d5febf7100..1872cce392 100644 --- a/extcap/sshdump.c +++ b/extcap/sshdump.c @@ -483,11 +483,6 @@ int main(int argc, char **argv) extcap_cmdline_debug(argv, argc); - if (optind != argc) { - g_warning("Unexpected extra option: %s", argv[optind]); - goto end; - } - if (extcap_base_handle_interface(extcap_conf)) { ret = EXIT_SUCCESS; goto end; -- cgit v1.2.3