Set arbitrary assumed PMTU at 1460

This commit is contained in:
Théophile Bastian 2020-06-10 16:24:26 +02:00
parent f89cbb6981
commit 5a7b108602

View file

@ -11,7 +11,7 @@
#include "ip_header.hpp"
static const size_t VPN_MTU = 1500; // TODO determine this
static const size_t VPN_MTU = 1460; // TODO determine this -- issue #3
UdpVpn::UdpVpn()
: _stopped(false), _vpn_mtu(VPN_MTU), _tun_dev("cvpn%d")