Browse Source

change minimal MTU size

pull/1474/head
orignal 5 years ago
parent
commit
cbedebc9dd
  1. 2
      libi2pd/util.cpp

2
libi2pd/util.cpp

@ -324,7 +324,7 @@ namespace net @@ -324,7 +324,7 @@ namespace net
int GetMTU(const boost::asio::ip::address& localAddress)
{
const int fallback = 576; // fallback MTU
int fallback = localAddress.is_v6 () ? 1280 : 620; // fallback MTU
#ifdef WIN32
return GetMTUWindows(localAddress, fallback);

Loading…
Cancel
Save