Set arbitrary assumed PMTU at 1460
This commit is contained in:
parent
f89cbb6981
commit
5a7b108602
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@
|
||||||
|
|
||||||
#include "ip_header.hpp"
|
#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()
|
UdpVpn::UdpVpn()
|
||||||
: _stopped(false), _vpn_mtu(VPN_MTU), _tun_dev("cvpn%d")
|
: _stopped(false), _vpn_mtu(VPN_MTU), _tun_dev("cvpn%d")
|
||||||
|
|
Loading…
Add table
Reference in a new issue