jl777 8 years ago
parent
commit
b701fe4464
  1. 2
      basilisk/basilisk_CMD.c

2
basilisk/basilisk_CMD.c

@ -27,7 +27,7 @@
struct iguana_peer *basilisk_ensurerelay(struct supernet_info *myinfo,struct iguana_info *notaries,uint32_t ipbits) struct iguana_peer *basilisk_ensurerelay(struct supernet_info *myinfo,struct iguana_info *notaries,uint32_t ipbits)
{ {
struct iguana_peer *addr; int32_t i; struct iguana_peer *addr; int32_t i;
if ( notaries == 0 ) if ( notaries == 0 || ipbits == myinfo->myaddr.myipbits )
return(0); return(0);
if ( (addr= iguana_peerfindipbits(notaries,ipbits,0)) == 0 ) if ( (addr= iguana_peerfindipbits(notaries,ipbits,0)) == 0 )
{ {

Loading…
Cancel
Save