warp-vpn

point to point VPN implementation
git clone git://git.2f30.org/warp-vpn
Log | Files | Refs | README

commit 4c1b0f4e7d27198285713a9ab033fde22ff93e09
parent 3ea9ed0c0b188702df0a038c1063c182a1ab26d5
Author: sin <sin@2f30.org>
Date:   Wed, 27 Apr 2016 09:21:16 +0100

Tidy up comment

Diffstat:
Mdev_bsd.c | 2+-
Mdev_linux.c | 2+-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev_bsd.c b/dev_bsd.c @@ -34,7 +34,7 @@ devopen(char *ifname) if (devtype == TUNDEV) ti.mtu = MAXPAYLOADLEN; else - ti.mtu = MAXPAYLOADLEN - 14; /* make some room for ethernet header */ + ti.mtu = MAXPAYLOADLEN - 14; /* make room for ethernet header */ if (ioctl(fd, TUNSIFINFO, &ti) < 0) logerr("failed to set TUNSIFINFO on %s", dev); if (devtype == TUNDEV) { diff --git a/dev_linux.c b/dev_linux.c @@ -33,7 +33,7 @@ devopen(char *ifname) if (devtype == TUNDEV) ifr.ifr_mtu = MAXPAYLOADLEN; else - ifr.ifr_mtu = MAXPAYLOADLEN - 14; /* make some room for ethernet header */ + ifr.ifr_mtu = MAXPAYLOADLEN - 14; /* make room for ethernet header */ if (ioctl(s, SIOCSIFMTU, &ifr) < 0) logerr("failed to set MTU on %s", ifname); close(s);