summaryrefslogtreecommitdiff
path: root/capture_opts.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2013-05-22 04:49:31 +0000
committerGuy Harris <guy@alum.mit.edu>2013-05-22 04:49:31 +0000
commit1ca63098ac2b88e2474ead02b77191fc9cf56a08 (patch)
treed04b02a9252ce7b751118f91113e6072bfcedd46 /capture_opts.h
parent9f11d6cd4464060057f4c9bd29e10a948c063117 (diff)
downloadwireshark-1ca63098ac2b88e2474ead02b77191fc9cf56a08.tar.gz
Rename capture_opts_trim_iface() to
capture_opts_default_iface_if_necessary(), to reflect what it actually does. svn path=/trunk/; revision=49491
Diffstat (limited to 'capture_opts.h')
-rw-r--r--capture_opts.h5
1 files changed, 3 insertions, 2 deletions
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);