cleaned up some debugging.

This commit is contained in:
gardners 2012-05-22 15:56:59 +09:30
parent e3387fbecf
commit e319b146a6
2 changed files with 3 additions and 3 deletions

View File

@ -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:

View File

@ -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) {