From 5a7b108602bbc1c890a089c167abdb29f5fe7c63 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9ophile=20Bastian?= Date: Wed, 10 Jun 2020 16:24:26 +0200 Subject: [PATCH] Set arbitrary assumed PMTU at 1460 --- UdpVpn.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/UdpVpn.cpp b/UdpVpn.cpp index adb2344..0363f31 100644 --- a/UdpVpn.cpp +++ b/UdpVpn.cpp @@ -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")