aboutsummaryrefslogtreecommitdiffstats
path: root/gtk
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2007-07-20 21:43:07 +0000
committerGerald Combs <gerald@wireshark.org>2007-07-20 21:43:07 +0000
commitc02e0c7b4a2f23916f6bdda16bd124e3a2b83419 (patch)
treea705612afd4276c7aa9f43738667b6b8a7da2520 /gtk
parentc1a4caf1b24b7ce38434f8963b3590013912697b (diff)
Remove the "-I" flag from dumpcap, and add a "-M" flag used to specify
that "-D" and "-L" should produce machine-readable output. Use this to move an indirect get_pcap_linktype() call from the GUI to dumpcap. svn path=/trunk/; revision=22367
Diffstat (limited to 'gtk')
-rw-r--r--gtk/capture_dlg.c2
-rw-r--r--gtk/main.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/gtk/capture_dlg.c b/gtk/capture_dlg.c
index 54b95b07bd..66fa565384 100644
--- a/gtk/capture_dlg.c
+++ b/gtk/capture_dlg.c
@@ -249,7 +249,7 @@ set_link_type_list(GtkWidget *linktype_om, GtkWidget *entry)
* It's in the list.
* Get the list of link-layer types for it.
*/
- lt_list = get_pcap_linktype_list(if_name, NULL);
+ lt_list = capture_pcap_linktype_list(if_name, NULL);
/* create string of list of IP addresses of this interface */
for (; (curr_ip = g_slist_nth(if_info->ip_addr, ips)) != NULL; ips++) {
diff --git a/gtk/main.c b/gtk/main.c
index 2853de6404..b4589da1e7 100644
--- a/gtk/main.c
+++ b/gtk/main.c
@@ -2823,7 +2823,7 @@ main(int argc, char *argv[])
}
if (list_link_layer_types) {
- status = capture_opts_list_link_layer_types(capture_opts);
+ status = capture_opts_list_link_layer_types(capture_opts, FALSE);
exit(status);
}