aboutsummaryrefslogtreecommitdiffstats
path: root/airpcap_loader.c
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2006-10-27 20:33:19 +0000
committerGerald Combs <gerald@wireshark.org>2006-10-27 20:33:19 +0000
commitc0abcac66011555d7dbb145b4f49a884f324c36c (patch)
tree9ae1ff713d7023f9809eae5ff9a95097c269af1e /airpcap_loader.c
parentc340b0b69adbcede52654066338165b6d0658e52 (diff)
Set AirpcapLoaded to TRUE if we've successfully loaded our DLL and obtained
our addresses. svn path=/trunk/; revision=19720
Diffstat (limited to 'airpcap_loader.c')
-rw-r--r--airpcap_loader.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/airpcap_loader.c b/airpcap_loader.c
index fde68f51b1..3cadef4421 100644
--- a/airpcap_loader.c
+++ b/airpcap_loader.c
@@ -1702,6 +1702,7 @@ BOOL load_airpcap(void)
if((g_PAirpcapSetDecryptionState = (AirpcapSetDecryptionStateHandler) GetProcAddress(AirpcapLib, "AirpcapSetDecryptionState")) == NULL) return FALSE;
if((g_PAirpcapStoreCurConfigAsAdapterDefault = (AirpcapStoreCurConfigAsAdapterDefaultHandler) GetProcAddress(AirpcapLib, "AirpcapStoreCurConfigAsAdapterDefault")) == NULL) return FALSE;
if((g_PAirpcapGetVersion = (AirpcapGetVersionHandler) GetProcAddress(AirpcapLib, "AirpcapGetVersion")) == NULL) return FALSE;
+ AirpcapLoaded = TRUE;
return TRUE;
}
}