diff options
author | Gerald Combs <gerald@wireshark.org> | 2006-10-27 20:33:19 +0000 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2006-10-27 20:33:19 +0000 |
commit | c0abcac66011555d7dbb145b4f49a884f324c36c (patch) | |
tree | 9ae1ff713d7023f9809eae5ff9a95097c269af1e /airpcap_loader.c | |
parent | c340b0b69adbcede52654066338165b6d0658e52 (diff) | |
download | wireshark-c0abcac66011555d7dbb145b4f49a884f324c36c.tar.gz wireshark-c0abcac66011555d7dbb145b4f49a884f324c36c.tar.bz2 wireshark-c0abcac66011555d7dbb145b4f49a884f324c36c.zip |
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.c | 1 |
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; } } |