diff options
author | Dario Lombardo <lomato@gmail.com> | 2017-11-22 10:20:44 +0100 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2017-11-22 15:40:13 +0000 |
commit | b993c6f05c3a9c3bd8748ffe57928a8d790371f7 (patch) | |
tree | de0349b3506022843a55d95895c869fcd9a5fa6d /extcap | |
parent | c58aed9b73d8989ef82145626e1701769b21e705 (diff) |
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 <lomato@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'extcap')
-rw-r--r-- | extcap/sshdump.c | 5 |
1 files changed, 0 insertions, 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; |