|
|
@ -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; |
|
|
|