From 1ca63098ac2b88e2474ead02b77191fc9cf56a08 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Wed, 22 May 2013 04:49:31 +0000 Subject: Rename capture_opts_trim_iface() to capture_opts_default_iface_if_necessary(), to reflect what it actually does. svn path=/trunk/; revision=49491 --- capture_opts.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'capture_opts.h') diff --git a/capture_opts.h b/capture_opts.h index b6dfa80ece..c380b9d145 100644 --- a/capture_opts.h +++ b/capture_opts.h @@ -252,9 +252,10 @@ capture_opts_trim_snaplen(capture_options *capture_opts, int snaplen_min); extern void capture_opts_trim_ring_num_files(capture_options *capture_opts); -/* trim the interface entry */ +/* pick default interface if none was specified */ extern int -capture_opts_trim_iface(capture_options *capture_opts, const char *capture_device); +capture_opts_default_iface_if_necessary(capture_options *capture_opts, + const char *capture_device); extern void collect_ifaces(capture_options *capture_opts); -- cgit v1.2.1