From c52fb2e54c910c0dfbf814f1bfbd68125f1d374f Mon Sep 17 00:00:00 2001 From: jl777 Date: Tue, 11 Oct 2016 10:51:33 -0300 Subject: [PATCH] test --- basilisk/basilisk_ping.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/basilisk/basilisk_ping.c b/basilisk/basilisk_ping.c index 29d2aa362..1b0d8923d 100755 --- a/basilisk/basilisk_ping.c +++ b/basilisk/basilisk_ping.c @@ -249,7 +249,7 @@ void basilisk_ping_process(struct supernet_info *myinfo,struct iguana_peer *addr //else printf("\n"); //for (i=0; iNOTARY.RELAYID,QUEUEITEMS); +printf("<<<<<<<<<<< input ping from.(%s) rel.%d numrelays.%d datalen.%d relay.%d Q.%d\n",ipbuf,basilisk_relayid(myinfo,(uint32_t)calc_ipbits(ipbuf)),numrelays,datalen,myinfo->NOTARY.RELAYID,QUEUEITEMS); } int32_t basilisk_ping_gen(struct supernet_info *myinfo,uint8_t *data,int32_t maxlen) @@ -261,9 +261,9 @@ int32_t basilisk_ping_gen(struct supernet_info *myinfo,uint8_t *data,int32_t max datalen += basilisk_ping_genrelay(myinfo,&data[datalen],maxlen - datalen,&myinfo->NOTARY.RELAYS[i]); //datalen += basilisk_ping_genDEX(myinfo,&data[datalen],maxlen - datalen); datalen += basilisk_ping_genMSG(myinfo,&data[datalen],maxlen - datalen); - //for (i=0; i>>>>>>>>> Q.%d\n",datalen,myinfo->NOTARY.RELAYID,QUEUEITEMS); + for (i=0; i>>>>>>>>> Q.%d\n",datalen,myinfo->NOTARY.RELAYID,QUEUEITEMS); return(datalen); }