aboutsummaryrefslogtreecommitdiffstats
path: root/extcap/ciscodump.c
diff options
context:
space:
mode:
Diffstat (limited to 'extcap/ciscodump.c')
-rw-r--r--extcap/ciscodump.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/extcap/ciscodump.c b/extcap/ciscodump.c
index fb79240afb..595ec82b46 100644
--- a/extcap/ciscodump.c
+++ b/extcap/ciscodump.c
@@ -521,7 +521,6 @@ int main(int argc, char **argv)
{
int result;
int option_idx = 0;
- int i;
char* remote_host = NULL;
guint16 remote_port = 22;
char* remote_username = NULL;
@@ -580,9 +579,6 @@ int main(int argc, char **argv)
goto end;
}
- for (i = 0; i < argc; i++)
- g_debug("%s ", argv[i]);
-
while ((result = getopt_long(argc, argv, ":", longopts, &option_idx)) != -1) {
switch (result) {
@@ -660,6 +656,8 @@ int main(int argc, char **argv)
}
}
+ extcap_cmdline_debug(argv, argc);
+
if (optind != argc) {
g_warning("Unexpected extra option: %s", argv[optind]);
goto end;