From c780d974117c0d49631ce89b168ed8f294a0eb41 Mon Sep 17 00:00:00 2001 From: Luis Ontanon Date: Thu, 27 Jun 2013 17:27:41 +0000 Subject: forgot from the las commit... svn path=/trunk/; revision=50191 --- capture_opts.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'capture_opts.c') diff --git a/capture_opts.c b/capture_opts.c index e9a3a2327d..eea7b3afb2 100644 --- a/capture_opts.c +++ b/capture_opts.c @@ -453,7 +453,7 @@ capture_opts_add_iface_opt(capture_options *capture_opts, const char *optarg_str cmdarg_err("There is no interface with that adapter index"); return 1; } - if_list = capture_interface_list(&err, &err_str); + if_list = capture_interface_list(&err, &err_str, NULL); if (if_list == NULL) { switch (err) { @@ -505,7 +505,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, NULL); + if_list = capture_interface_list(&err, NULL, NULL); if (if_list != NULL) { /* try and do an exact match (case insensitive) */ GList *if_entry; -- cgit v1.2.1