mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-01-22 08:14:15 +00:00
print detected MTU
Signed-off-by: R4SAS <r4sas@i2pmail.org>
This commit is contained in:
parent
098fdf0596
commit
5ff34b93c0
@ -195,6 +195,8 @@ namespace net
|
||||
{
|
||||
auto result = pAddresses->Mtu;
|
||||
FREE(pAddresses);
|
||||
pAddresses = nullptr;
|
||||
LogPrint(eLogInfo, "NetIface: GetMTU(): Using ", result, " bytes for IPv4");
|
||||
return result;
|
||||
}
|
||||
pUnicast = pUnicast->Next;
|
||||
@ -259,6 +261,7 @@ namespace net
|
||||
auto result = pAddresses->Mtu;
|
||||
FREE(pAddresses);
|
||||
pAddresses = nullptr;
|
||||
LogPrint(eLogInfo, "NetIface: GetMTU(): Using ", result, " bytes for IPv6");
|
||||
return result;
|
||||
}
|
||||
pUnicast = pUnicast->Next;
|
||||
|
Loading…
x
Reference in New Issue
Block a user