mirror of
https://github.com/PurpleI2P/i2pd
synced 2024-11-10 08:00:38 +03:00
Merge remote-tracking branch 'origin/udptunnel-fix'
This commit is contained in:
commit
d9090486e3
@ -237,7 +237,7 @@ namespace datagram
|
||||
// bad lease, switch to next one
|
||||
if(m_RemoteLeaseSet) {
|
||||
auto ls = m_RemoteLeaseSet->GetNonExpiredLeasesExcluding([&](const i2p::data::Lease& l) -> bool {
|
||||
return l.tunnelGateway == m_CurrentRemoteLease->tunnelGateway || l.endDate <= m_CurrentRemoteLease->endDate;
|
||||
return l.tunnelGateway == m_CurrentRemoteLease->tunnelGateway;
|
||||
});
|
||||
auto sz = ls.size();
|
||||
if (sz) {
|
||||
|
Loading…
Reference in New Issue
Block a user