Navigation Menu

Skip to content

Commit

Permalink
Fix crash on GetIpAddrTable error
Browse files Browse the repository at this point in the history
  • Loading branch information
djelinski committed Oct 18, 2021
1 parent 79c74b8 commit a6c89e2
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -229,7 +229,7 @@ static int ipinflen = 2048;
*/
int getAllInterfacesAndAddresses (JNIEnv *env, netif **netifPP)
{
DWORD ret, flags;
int ret, flags;
MIB_IPADDRTABLE *tableP;
IP_ADAPTER_ADDRESSES *ptr, *adapters=NULL;
ULONG len=ipinflen, count=0;
Expand Down

0 comments on commit a6c89e2

Please sign in to comment.