From 077ff72ac19c4c48a47f914615f3ddc50b086c72 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Fri, 7 May 2010 19:24:32 +0000 Subject: As with the list of data link types, so with the list of interfaces; move the code to print the machine-readable format into dumpcap, and have the code in capture_opts.c just print the human-readable format. svn path=/trunk/; revision=32714 --- capture_opts.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'capture_opts.h') diff --git a/capture_opts.h b/capture_opts.h index 3b1b869398..fdf7672220 100644 --- a/capture_opts.h +++ b/capture_opts.h @@ -179,9 +179,9 @@ capture_opts_log(const char *log_domain, GLogLevelFlags log_level, capture_optio extern void capture_opts_print_link_layer_types(GList *lt_list); -/* list interfaces */ -extern int -capture_opts_list_interfaces(gboolean machine_readable); +/* print list of interfaces */ +extern void +capture_opts_print_interfaces(GList *if_list); /* trim the snaplen entry */ extern void -- cgit v1.2.3