stun

simple point to point tunnel
git clone git://git.2f30.org/stun.git
Log | Files | Refs | README

commit 94b530d96f7729ae6275abf7b5365fb339746c3e
parent b77af1472c3f1b6312098b488cac72618e09e462
Author: sin <sin@2f30.org>
Date:   Wed Apr 27 09:21:16 +0100

Tidy up comment

Diffstat:
dev_bsd.c | 2+-
dev_linux.c | 2+-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dev_bsd.c b/dev_bsd.c @@ -35,7 +35,7 @@ devopen(char *ifname) if (netconfig.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) fatal("TUNSIFINFO %s", dev); if (netconfig.devtype == TUNDEV) { diff --git a/dev_linux.c b/dev_linux.c @@ -34,7 +34,7 @@ devopen(char *ifname) if (netconfig.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) fatal("SIOCSIFMTU %s", ifname); close(s);