forked from I2P_Developers/i2p.i2p
Router: Allow LS2 DSM down a tunnel
This commit is contained in:
@ -154,7 +154,7 @@ class InboundMessageDistributor implements GarlicMessageReceiver.CloveReceiver {
|
|||||||
_log.error("Dropping DSM w/ reply token down a expl. tunnel: " + msg);
|
_log.error("Dropping DSM w/ reply token down a expl. tunnel: " + msg);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (dsm.getEntry().getType() == DatabaseEntry.KEY_TYPE_LEASESET)
|
if (dsm.getEntry().isLeaseSet())
|
||||||
((LeaseSet)dsm.getEntry()).setReceivedAsReply();
|
((LeaseSet)dsm.getEntry()).setReceivedAsReply();
|
||||||
break;
|
break;
|
||||||
|
|
||||||
@ -249,7 +249,7 @@ class InboundMessageDistributor implements GarlicMessageReceiver.CloveReceiver {
|
|||||||
dsm.setReplyTunnel(null);
|
dsm.setReplyTunnel(null);
|
||||||
dsm.setReplyGateway(null);
|
dsm.setReplyGateway(null);
|
||||||
|
|
||||||
if (dsm.getEntry().getType() == DatabaseEntry.KEY_TYPE_LEASESET) {
|
if (dsm.getEntry().isLeaseSet()) {
|
||||||
// Case 1:
|
// Case 1:
|
||||||
// store of our own LS.
|
// store of our own LS.
|
||||||
// This is almost certainly a response to a FloodfillVerifyStoreJob search.
|
// This is almost certainly a response to a FloodfillVerifyStoreJob search.
|
||||||
|
Reference in New Issue
Block a user