@ -270,7 +270,7 @@ extern "C" int GetIPList(void *data, addr_t* addr, int max, int ipv4, int ipv6)
@@ -270,7 +270,7 @@ extern "C" int GetIPList(void *data, addr_t* addr, int max, int ipv4, int ipv6)
@ -279,7 +279,7 @@ extern "C" int GetIPList(void *data, addr_t* addr, int max, int ipv4, int ipv6)
@@ -279,7 +279,7 @@ extern "C" int GetIPList(void *data, addr_t* addr, int max, int ipv4, int ipv6)
while(i<max){
intj=i+(rand()%(size-i));
do{
boolok=(ipv4&&thread->cache[j].v==4)||
boolok=(ipv4&&thread->cache[j].v==4)||
(ipv6&&thread->cache[j].v==6);
if(ok)break;
j++;
@ -299,7 +299,7 @@ extern "C" int GetIPListNonStd(void *data, addr_t* addr, int max, int ipv4, int
@@ -299,7 +299,7 @@ extern "C" int GetIPListNonStd(void *data, addr_t* addr, int max, int ipv4, int
@ -310,7 +310,7 @@ extern "C" int GetIPListNonStd(void *data, addr_t* addr, int max, int ipv4, int
@@ -310,7 +310,7 @@ extern "C" int GetIPListNonStd(void *data, addr_t* addr, int max, int ipv4, int
intj=i/2+(rand()%(size-i/2));
unsignedshortcrcAddr=0;
do{
boolok=(ipv4&&thread->cacheNonStd[j].v==4)||
boolok=(ipv4&&thread->cacheNonStd[j].v==4)||
(ipv6&&thread->cacheNonStd[j].v==6);
if(ok)break;
j++;
@ -320,7 +320,7 @@ extern "C" int GetIPListNonStd(void *data, addr_t* addr, int max, int ipv4, int
@@ -320,7 +320,7 @@ extern "C" int GetIPListNonStd(void *data, addr_t* addr, int max, int ipv4, int