Changeset ee722b7 for router


Ignore:
Timestamp:
Dec 2, 2018 6:53:13 PM (20 months ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
6e05368
Parents:
e691245
Message:

Router: Allow LS2 DSM down a tunnel

File:
1 edited

Legend:

Unmodified
Added
Removed
  • router/java/src/net/i2p/router/tunnel/InboundMessageDistributor.java

    re691245 ree722b7  
    155155                        return;
    156156                    }
    157                     if (dsm.getEntry().getType() == DatabaseEntry.KEY_TYPE_LEASESET)
     157                    if (dsm.getEntry().isLeaseSet())
    158158                        ((LeaseSet)dsm.getEntry()).setReceivedAsReply();
    159159                    break;
     
    250250                        dsm.setReplyGateway(null);
    251251
    252                             if (dsm.getEntry().getType() == DatabaseEntry.KEY_TYPE_LEASESET) {
     252                            if (dsm.getEntry().isLeaseSet()) {
    253253                                    // Case 1:
    254254                                    // store of our own LS.
Note: See TracChangeset for help on using the changeset viewer.