summaryrefslogtreecommitdiff
path: root/capture_opts.h
diff options
context:
space:
mode:
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);