forgot from the las commit...

svn path=/trunk/; revision=50191
This commit is contained in:
Luis Ontanon 2013-06-27 17:27:41 +00:00
parent 3f5665a6b1
commit c780d97411
1 changed files with 2 additions and 2 deletions

View File

@ -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;