aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/main.c
diff options
context:
space:
mode:
authortuexen <tuexen@f5534014-38df-0310-8fa8-9805f1628bb7>2011-05-13 11:28:51 +0000
committertuexen <tuexen@f5534014-38df-0310-8fa8-9805f1628bb7>2011-05-13 11:28:51 +0000
commitef23ba7a2e7d95a96ad766d1cf6d9924afec90bc (patch)
treec1e4bcf96d3e8c61f4cee05ae7b9cfd8695ec28a /gtk/main.c
parent14262ca1747b6aa6045dd77ac0a3bd5d251d4f4e (diff)
Get -L and -d working with multiple interface. Internally get some functions
using the array of interface data. Improve output of -L by printing the interface name. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37120 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'gtk/main.c')
-rw-r--r--gtk/main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk/main.c b/gtk/main.c
index c94d3f81eb..17dfd27e92 100644
--- a/gtk/main.c
+++ b/gtk/main.c
@@ -2742,7 +2742,8 @@ main(int argc, char *argv[])
cmdarg_err("The capture device \"%s\" has no data link types.", global_capture_opts.iface);
exit(2);
}
- capture_opts_print_if_capabilities(caps, global_capture_opts.monitor_mode);
+ capture_opts_print_if_capabilities(caps, global_capture_opts.iface,
+ global_capture_opts.monitor_mode);
free_if_capabilities(caps);
exit(0);
}