summaryrefslogtreecommitdiff
path: root/capture_opts.c
diff options
context:
space:
mode:
authorLuis Ontanon <luis.ontanon@gmail.com>2013-06-27 17:27:41 +0000
committerLuis Ontanon <luis.ontanon@gmail.com>2013-06-27 17:27:41 +0000
commitc780d974117c0d49631ce89b168ed8f294a0eb41 (patch)
treedfa9150f90ef7dfab36ccc736a45775110063a91 /capture_opts.c
parent3f5665a6b10692139683b33be220ea553e691030 (diff)
downloadwireshark-c780d974117c0d49631ce89b168ed8f294a0eb41.tar.gz
forgot from the las commit...
svn path=/trunk/; revision=50191
Diffstat (limited to 'capture_opts.c')
-rw-r--r--capture_opts.c4
1 files changed, 2 insertions, 2 deletions
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;