summaryrefslogtreecommitdiff
path: root/netsniff-ng
diff options
context:
space:
mode:
authorVadim Kochan <vadim4j@gmail.com>2015-07-19 14:41:19 +0300
committerDaniel Borkmann <daniel@iogearbox.net>2015-07-20 10:05:05 +0200
commita839a6ad1dd48802e50fddca2747eea511b65826 (patch)
tree2f0f536e7884efad3ab4c8287a46c2e3720f3c00 /netsniff-ng
parenta1e7c1dc527ca3c37349cebc6fbeaa12a594fcf3 (diff)
bpf: Use sysctl helpers to enable bpf jit compiler
Use sysctl helpers to set /proc/sys/net/core/bpf_jit_enable param. Signed-off-by: Vadim Kochan <vadim4j@gmail.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'netsniff-ng')
-rw-r--r--netsniff-ng/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/netsniff-ng/Makefile b/netsniff-ng/Makefile
index 33701a4..03e306e 100644
--- a/netsniff-ng/Makefile
+++ b/netsniff-ng/Makefile
@@ -66,6 +66,7 @@ netsniff-ng-objs = dissector.o \
timer.o \
mac80211.o \
die.o \
+ sysctl.o \
netsniff-ng.o
ifeq ($(CONFIG_LIBPCAP), 1)