aboutsummaryrefslogtreecommitdiffstats
path: root/caputils/capture-wpcap.c
diff options
context:
space:
mode:
Diffstat (limited to 'caputils/capture-wpcap.c')
-rw-r--r--caputils/capture-wpcap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/caputils/capture-wpcap.c b/caputils/capture-wpcap.c
index 707875d374..3fdff7d052 100644
--- a/caputils/capture-wpcap.c
+++ b/caputils/capture-wpcap.c
@@ -865,7 +865,7 @@ get_interface_list(int *err, char **err_str)
/*
* No interfaces found.
*/
- *err = NO_INTERFACES_FOUND;
+ *err = 0;
if (err_str != NULL)
*err_str = NULL;
}