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

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

Router: Allow LS2 DSM down a tunnel

parent e6912453
No related branches found
No related tags found
No related merge requests found
......@@ -154,7 +154,7 @@ class InboundMessageDistributor implements GarlicMessageReceiver.CloveReceiver {
_log.error("Dropping DSM w/ reply token down a expl. tunnel: " + msg);
return;
}
if (dsm.getEntry().getType() == DatabaseEntry.KEY_TYPE_LEASESET)
if (dsm.getEntry().isLeaseSet())
((LeaseSet)dsm.getEntry()).setReceivedAsReply();
break;
......@@ -249,7 +249,7 @@ class InboundMessageDistributor implements GarlicMessageReceiver.CloveReceiver {
dsm.setReplyTunnel(null);
dsm.setReplyGateway(null);
if (dsm.getEntry().getType() == DatabaseEntry.KEY_TYPE_LEASESET) {
if (dsm.getEntry().isLeaseSet()) {
// Case 1:
// store of our own LS.
// This is almost certainly a response to a FloodfillVerifyStoreJob search.
......
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