jl777 8 years ago
parent
commit
5355642348
  1. 2
      iguana/dpow/dpow_network.c

2
iguana/dpow/dpow_network.c

@ -346,7 +346,7 @@ void dpow_send(struct supernet_info *myinfo,struct dpow_info *dp,struct dpow_blo
void dpow_ipbitsadd(struct supernet_info *myinfo,struct dpow_info *dp,uint32_t *ipbits,int32_t numipbits,int32_t fromid,uint32_t senderipbits) void dpow_ipbitsadd(struct supernet_info *myinfo,struct dpow_info *dp,uint32_t *ipbits,int32_t numipbits,int32_t fromid,uint32_t senderipbits)
{ {
int32_t i,j,matched,missing,n; char ipaddr[64]; int32_t i,j,matched,missing,n; char ipaddr[64];
if ( numipbits < 1 || numipbits >= 64 ) if ( numipbits >= 64 )
{ {
printf("dpow_ipbitsadd reject from.%d numipbits.%d\n",fromid,numipbits); printf("dpow_ipbitsadd reject from.%d numipbits.%d\n",fromid,numipbits);
return; return;

Loading…
Cancel
Save