aboutsummaryrefslogtreecommitdiffstats
path: root/airpcap_loader.c
diff options
context:
space:
mode:
Diffstat (limited to 'airpcap_loader.c')
-rw-r--r--airpcap_loader.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/airpcap_loader.c b/airpcap_loader.c
index 1e37cb6c18..e01b6bc792 100644
--- a/airpcap_loader.c
+++ b/airpcap_loader.c
@@ -1138,7 +1138,10 @@ get_airpcap_interface_list(int *err, char **err_str)
char errbuf[PCAP_ERRBUF_SIZE];
if (!AirpcapLoaded)
+ {
+ *err = AIRPCAP_NOT_LOADED;
return il;
+ }
if (!g_PAirpcapGetDeviceList(&devsList, errbuf))
{