forked from osmocom/wireshark
Set AirpcapLoaded to TRUE if we've successfully loaded our DLL and obtained
our addresses. svn path=/trunk/; revision=19720
This commit is contained in:
parent
c340b0b69a
commit
c0abcac660
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue