aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/main.c
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2007-06-11 03:58:58 +0000
committerGerald Combs <gerald@wireshark.org>2007-06-11 03:58:58 +0000
commite9f1a0b692e19854f9e550e56e6a4dd392d316ac (patch)
tree34b32715c097282a72bc20784529bf82c5e01b0e /gtk/main.c
parentf07a01dd510a6ae5fb963123195c4f0e203216aa (diff)
One more step in privilege separation.
Add a capture_interface_list(), which works similar to get_interface_list() except that it forks dumpcap instead of calling the pcap routines directly. Use it in the GUI. Add a "-I" flag to dumpcap, which prints out verbose interface information. Tested under Windows and Linux. svn path=/trunk/; revision=22071
Diffstat (limited to 'gtk/main.c')
-rw-r--r--gtk/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/main.c b/gtk/main.c
index beac1944d0..2853de6404 100644
--- a/gtk/main.c
+++ b/gtk/main.c
@@ -2568,7 +2568,7 @@ main(int argc, char *argv[])
/*** all non capture option specific ***/
case 'D': /* Print a list of capture devices and exit */
#ifdef HAVE_LIBPCAP
- capture_opts_list_interfaces();
+ capture_opts_list_interfaces(FALSE);
exit(0);
#else
capture_option_specified = TRUE;