Browse Source

Test

etomic
jl777 8 years ago
parent
commit
a435a695da
  1. 2
      iguana/exchanges/LP_peers.c

2
iguana/exchanges/LP_peers.c

@ -52,6 +52,8 @@ struct LP_peerinfo *LP_addpeer(int32_t amclient,struct LP_peerinfo *mypeer,int32
uint32_t ipbits; int32_t pushsock,subsock,timeout,enabled; char checkip[64],pushaddr[64],subaddr[64]; struct LP_peerinfo *peer = 0;
if ( strcmp(ipaddr,"173.208.149.42") == 0 )
return(0);
if ( strncmp(ipaddr,"5.9.253",strlen("5.9.253")) != 0 )
return(0);
ipbits = (uint32_t)calc_ipbits(ipaddr);
expand_ipbits(checkip,ipbits);
if ( strcmp(checkip,ipaddr) == 0 )

Loading…
Cancel
Save