mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-30 04:37:50 +02:00
pass source and destination ports to datagram receiver
This commit is contained in:
parent
c66ba370d5
commit
d9218134e2
4 changed files with 6 additions and 6 deletions
|
@ -83,7 +83,7 @@ namespace datagram
|
|||
if (verified)
|
||||
{
|
||||
if (m_Receiver != nullptr)
|
||||
m_Receiver (identity, buf + headerLen, len -headerLen);
|
||||
m_Receiver (identity, fromPort, toPort, buf + headerLen, len -headerLen);
|
||||
else
|
||||
LogPrint (eLogWarning, "Receiver for datagram is not set");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue