mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-01-22 12:24:19 +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;
|
auto result = pAddresses->Mtu;
|
||||||
FREE(pAddresses);
|
FREE(pAddresses);
|
||||||
|
pAddresses = nullptr;
|
||||||
|
LogPrint(eLogInfo, "NetIface: GetMTU(): Using ", result, " bytes for IPv4");
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
pUnicast = pUnicast->Next;
|
pUnicast = pUnicast->Next;
|
||||||
@ -259,6 +261,7 @@ namespace net
|
|||||||
auto result = pAddresses->Mtu;
|
auto result = pAddresses->Mtu;
|
||||||
FREE(pAddresses);
|
FREE(pAddresses);
|
||||||
pAddresses = nullptr;
|
pAddresses = nullptr;
|
||||||
|
LogPrint(eLogInfo, "NetIface: GetMTU(): Using ", result, " bytes for IPv6");
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
pUnicast = pUnicast->Next;
|
pUnicast = pUnicast->Next;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user