I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit 6a6064d6 authored by zzz's avatar zzz
Browse files

Garlic: Reduce log level on misrouted message

parent 49565a99
No related branches found
No related tags found
No related merge requests found
......@@ -77,9 +77,10 @@ public class HandleGarlicMessageJob extends JobImpl implements GarlicMessageRece
getContext().inNetMessagePool().add(data, null, null);
return;
case DeliveryInstructions.DELIVERY_MODE_DESTINATION:
if (_log.shouldLog(Log.ERROR))
_log.error("this message didn't come down a tunnel, not forwarding to a destination: "
+ instructions + " - " + data);
// i2pd bug with DLM to ratchet router
if (_log.shouldWarn())
_log.warn("this message didn't come down a tunnel, not forwarding to a destination:\n"
+ instructions + '\n' + data);
return;
case DeliveryInstructions.DELIVERY_MODE_ROUTER:
if (getContext().routerHash().equals(instructions.getRouter())) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment