mirror of
https://github.com/servalproject/serval-dna.git
synced 2025-03-12 07:24:00 +00:00
increase Rhizome over MDP debug output to track down inability of
MEs to do rhizome over mdp on ad-hoc wifi
This commit is contained in:
parent
06bb93c88b
commit
ed9971e8c1
@ -1337,8 +1337,13 @@ int rhizome_received_content(unsigned char *bidprefix,
|
|||||||
int count,unsigned char *bytes,int type)
|
int count,unsigned char *bytes,int type)
|
||||||
{
|
{
|
||||||
IN();
|
IN();
|
||||||
if (!is_rhizome_mdp_enabled())
|
if (config.debug.rhizome)
|
||||||
|
DEBUGF("Rhizome over MDP receiving %d bytes.",count);
|
||||||
|
if (!is_rhizome_mdp_enabled()) {
|
||||||
|
if (config.debug.rhizome)
|
||||||
|
DEBUGF("Rhizome over MDP is not enabled");
|
||||||
RETURN(-1);
|
RETURN(-1);
|
||||||
|
}
|
||||||
struct rhizome_fetch_slot *slot=fetch_search_slot(bidprefix, 16);
|
struct rhizome_fetch_slot *slot=fetch_search_slot(bidprefix, 16);
|
||||||
|
|
||||||
if (slot && slot->bidVersion == version && slot->state == RHIZOME_FETCH_RXFILEMDP){
|
if (slot && slot->bidVersion == version && slot->state == RHIZOME_FETCH_RXFILEMDP){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user