diff options
author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2013-10-28 15:18:06 -0400 |
---|---|---|
committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2013-10-28 15:18:06 -0400 |
commit | 12b297a7127a752c1ffb51d768072572f035e8da (patch) | |
tree | 0e779cef27597b03aac84c1e160fd8b1cf2e4786 /tap-mac/tuntap/src/tap | |
parent | d290306bb3c6c3773dc613cbe06fd606103f4fa5 (diff) | |
download | infinitytier-12b297a7127a752c1ffb51d768072572f035e8da.tar.gz infinitytier-12b297a7127a752c1ffb51d768072572f035e8da.zip |
Put default MTU in tap back to 2800, clean up tun-related files and other things from the original pre-fork tap code base that we will never use.
Diffstat (limited to 'tap-mac/tuntap/src/tap')
-rw-r--r-- | tap-mac/tuntap/src/tap/Makefile | 4 | ||||
-rw-r--r-- | tap-mac/tuntap/src/tap/tap.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/tap-mac/tuntap/src/tap/Makefile b/tap-mac/tuntap/src/tap/Makefile index a69b967e..58e582da 100644 --- a/tap-mac/tuntap/src/tap/Makefile +++ b/tap-mac/tuntap/src/tap/Makefile @@ -28,9 +28,9 @@ CCFLAGS = $(CFLAGS) LDFLAGS = -Wall -mkernel -nostdlib -r -lcc_kext -arch i386 -arch x86_64 -Xlinker -kext #CCP = g++ +#CC = gcc CCP = $(HOME)/Code/llvm-g++-Xcode4.6.2/bin/llvm-g++ - -CC = gcc +CC = $(HOME)/Code/llvm-g++-Xcode4.6.2/bin/llvm-gcc all: $(KMOD_BIN) bundle diff --git a/tap-mac/tuntap/src/tap/tap.h b/tap-mac/tuntap/src/tap/tap.h index b3070676..0ef9e159 100644 --- a/tap-mac/tuntap/src/tap/tap.h +++ b/tap-mac/tuntap/src/tap/tap.h @@ -34,7 +34,7 @@ #define TAP_IF_COUNT 16 /* max number of tap interfaces */ -#define TAP_MTU 4000 +#define TAP_MTU 2800 #define TAP_LLADDR tap_lladdr |