mirror of
https://github.com/servalproject/serval-dna.git
synced 2024-12-21 22:17:53 +00:00
cleaned up some debugging.
This commit is contained in:
parent
e3387fbecf
commit
e319b146a6
@ -260,7 +260,7 @@ int overlay_frame_process(int interface,overlay_frame *f)
|
|||||||
/* Great, we have the address, so we can get on with things */
|
/* Great, we have the address, so we can get on with things */
|
||||||
break;
|
break;
|
||||||
case OA_PLEASEEXPLAIN:
|
case OA_PLEASEEXPLAIN:
|
||||||
return WHY("Address cannot be resolved -- aborting packet processing.");
|
return -1; // WHY("Address cannot be resolved -- aborting packet processing.");
|
||||||
/* XXX Should send a please explain to get this address resolved. */
|
/* XXX Should send a please explain to get this address resolved. */
|
||||||
break;
|
break;
|
||||||
case OA_UNSUPPORTED:
|
case OA_UNSUPPORTED:
|
||||||
|
@ -219,9 +219,9 @@ int overlay_rhizome_add_advertisements(int interface_number,overlay_buffer *e)
|
|||||||
e,e->bytes,e->length,e->allocSize);
|
e,e->bytes,e->length,e->allocSize);
|
||||||
|
|
||||||
if (ob_makespace(e,overhead+2+blob_bytes)) {
|
if (ob_makespace(e,overhead+2+blob_bytes)) {
|
||||||
if (debug&DEBUG_RHIZOME)
|
if (0&&debug&DEBUG_RHIZOME)
|
||||||
WHYF("Stopped cramming %s into Rhizome advertisement frame.",
|
WHYF("Stopped cramming %s into Rhizome advertisement frame.",
|
||||||
pass?"BARs":"manifests");
|
pass?"BARs":"manifests");
|
||||||
frameFull=1;
|
frameFull=1;
|
||||||
}
|
}
|
||||||
if (!pass) {
|
if (!pass) {
|
||||||
|
Loading…
Reference in New Issue
Block a user