From 32db9e172ab4d8826f34cf9ee635b482035d60bc Mon Sep 17 00:00:00 2001 From: jl777 Date: Sun, 26 Jun 2016 09:35:43 -0300 Subject: [PATCH] test --- basilisk/basilisk.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/basilisk/basilisk.c b/basilisk/basilisk.c index 422d66b4a..5bc0ef04c 100755 --- a/basilisk/basilisk.c +++ b/basilisk/basilisk.c @@ -576,15 +576,22 @@ int32_t basilisk_relays_ping(struct supernet_info *myinfo,uint8_t *data,int32_t data[datalen++] = myinfo->numrelays; for (i=0; inumrelays; i++) datalen += basilisk_relay_ping(myinfo,&data[datalen],maxlen - datalen,&myinfo->relays[i]); + for (i=0; imyaddr.myipbits; else ipbits = (uint32_t)calc_ipbits(remoteaddr); + expand_ipbits(ipbuf,ipbits); + for (i=0; inumrelays; i++) { rp = &myinfo->relays[i];