aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--capture_opts.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/capture_opts.c b/capture_opts.c
index 2718eeaafa..3c88d282ff 100644
--- a/capture_opts.c
+++ b/capture_opts.c
@@ -517,7 +517,7 @@ capture_opts_add_iface_opt(capture_options *capture_opts, const char *optarg_str
* the interface name, so that the user can try specifying an
* interface explicitly for testing purposes.
*/
- if_list = capture_interface_list(&err, &err_str);
+ if_list = capture_interface_list(&err, NULL);
if (if_list != NULL) {
/* try and do an exact match (case insensitive) */
GList *if_entry;