|
|
@ -795,10 +795,11 @@ void basilisk_p2p(void *_myinfo,void *_addr,char *senderip,uint8_t *data,int32_t |
|
|
|
len += iguana_rwnum(0,data,sizeof(basilisktag),&basilisktag); |
|
|
|
//int32_t i; for (i=0; i<datalen-len; i++)
|
|
|
|
// printf("%02x",data[len+i]);
|
|
|
|
//if ( 0 && myinfo->NOTARY.RELAYID >= 0 )
|
|
|
|
if ( myinfo->IAMLP == 0 ) |
|
|
|
printf("RELAYID.%d ->received.%d basilisk_p2p.(%s) from %s tag.%u\n",myinfo->NOTARY.RELAYID,datalen,type,senderip!=0?senderip:"?",basilisktag); |
|
|
|
basilisk_msgprocess(myinfo,_addr,ipbits,type,basilisktag,&data[len],datalen - len); |
|
|
|
printf("processed.%s from %s\n",type,senderip!=0?senderip:"?"); |
|
|
|
if ( myinfo->IAMLP == 0 ) |
|
|
|
printf("processed.%s from %s\n",type,senderip!=0?senderip:"?"); |
|
|
|
} |
|
|
|
if ( ptr != 0 ) |
|
|
|
free(ptr); |
|
|
|