From 1b8242ea5ec8d7616fc03c90c9049d985de08423 Mon Sep 17 00:00:00 2001 From: jl777 Date: Wed, 12 Oct 2016 15:01:31 -0300 Subject: [PATCH] test --- basilisk/basilisk_CMD.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/basilisk/basilisk_CMD.c b/basilisk/basilisk_CMD.c index b9dde7fc1..4f9bb2d55 100755 --- a/basilisk/basilisk_CMD.c +++ b/basilisk/basilisk_CMD.c @@ -26,14 +26,15 @@ 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; char ipaddr[64]; + expand_ipbits(ipaddr,ipbits); if ( notaries == 0 || ipbits == myinfo->myaddr.myipbits ) return(0); if ( (addr= iguana_peerfindipbits(notaries,ipbits,0)) == 0 ) { if ( (addr= iguana_peerslot(notaries,ipbits,0)) != 0 ) { - printf("launch peer for relay\n"); + printf("launch peer.%s for relay vs (%s)\n",ipaddr,myinfo->ipaddr); addr->isrelay = 1; myinfo->NOTARY.RELAYID = -1; for (i=0; iNOTARY.NUMRELAYS; i++)