summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorlijia <[email protected]>2020-03-25 15:06:03 +0800
committerlijia <[email protected]>2020-03-25 15:06:03 +0800
commitc43dbc185d7ef13b98fabc4c368fb33edafc3bb5 (patch)
tree9ace0497cc97d64eec561cab55f16ff62a127539 /tools
parent2e6da7600c366f3ff36d4d4db3cabcd245b5c3ec (diff)
支持pcap模式下, 指定捕包方向[in, out, inout];
支持ethernet跳过非ip层的协议,便于使用系统路由测试注入数据包功能.
Diffstat (limited to 'tools')
-rw-r--r--tools/tun_transparent/Makefile.user3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/tun_transparent/Makefile.user b/tools/tun_transparent/Makefile.user
index b8cf9d1..6263278 100644
--- a/tools/tun_transparent/Makefile.user
+++ b/tools/tun_transparent/Makefile.user
@@ -25,7 +25,8 @@ all: $(TARGET)
sapp_tun_bridge_user:sapp_tun_bridge_user.c
- gcc -o $@ $^ -g -O0 $(CFLAGS) -lpthread -lpcap -lnetfilter_queue -lnfnetlink
+ #gcc -o $@ $^ -g -O0 $(CFLAGS) -lpthread -lpcap -lnetfilter_queue -lnfnetlink
+ gcc -o $@ $^ -g -O0 $(CFLAGS) -lpthread -lpcap
.c.o:
$(CC) -c -o $@ $(CFLAGS) -I. $(INCS) $<