mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2024-11-17 21:26:04 +00:00
create non-default port destination explicitly
This commit is contained in:
parent
4ebc7c970a
commit
b8d21a1282
@ -693,7 +693,7 @@ namespace client
|
||||
{
|
||||
if (!inport) inport = port;
|
||||
m_PortDestination = localDestination->GetStreamingDestination (inport);
|
||||
if (!m_PortDestination)
|
||||
if (!m_PortDestination || (inport && (m_PortDestination == localDestination->GetStreamingDestination ()))) // default destination
|
||||
m_PortDestination = localDestination->CreateStreamingDestination (inport, gzip);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user