Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
e63bf8910b
  1. 4
      basilisk/basilisk.c

4
basilisk/basilisk.c

@ -186,7 +186,11 @@ int32_t basilisk_sendcmd(struct supernet_info *myinfo,char *destipaddr,char *typ
if ( myinfo->relays[s].ipbits == addr->ipbits ) if ( myinfo->relays[s].ipbits == addr->ipbits )
break; break;
if ( s == myinfo->numrelays ) if ( s == myinfo->numrelays )
{
printf("skip non-relay.(%s)\n",addr->ipaddr);
continue; continue;
}
printf("send to other relay.(%s)\n",addr->ipaddr);
} }
for (s=0; s<n; s++) for (s=0; s<n; s++)
if ( alreadysent[s] == addr->ipbits ) if ( alreadysent[s] == addr->ipbits )

Loading…
Cancel
Save