summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsven-ola <sven-ola@3484d885-4da6-438d-b19d-107d078dd756>2010-10-15 08:30:21 +0200
committersven-ola <sven-ola@3484d885-4da6-438d-b19d-107d078dd756>2010-10-15 08:30:21 +0200
commit3cf513f2dee329916515342d19808dd7cb79ac17 (patch)
tree77c72a2ea07c97110df9083db6411c9a1cd86661
parent9e5c5f6b698009a6ae29df7adb2476bce5b911e5 (diff)
downloadNPTv6-3cf513f2dee329916515342d19808dd7cb79ac17.tar
NPTv6-3cf513f2dee329916515342d19808dd7cb79ac17.zip
git-svn-id: https://map66.svn.sourceforge.net/svnroot/map66@33 3484d885-4da6-438d-b19d-107d078dd756
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index b7710df..070aab0 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
obj-m := ip6t_MAP66.o
KVERSION := $(shell uname -r)
KPATH := /lib/modules/$(KVERSION)/build
-IPTABLES_VERSION := $(shell ip6tables --version|sed 's/^.*\([[:digit:]]\+\.[[:digit:]]\+\.[[:digit:]]\+\).*/\1/')
+IPTABLES_VERSION := $(shell /sbin/ip6tables --version|sed 's/^.*\([[:digit:]]\+\.[[:digit:]]\+\.[[:digit:]]\+\).*/\1/')
IPTABLES_VERSION_CODE := $(shell echo $$(( $$(echo $(IPTABLES_VERSION)|sed 's/^.*\([[:digit:]]\+\)\.\([[:digit:]]\+\)\.\([[:digit:]]\+\).*/\1 * 65536 + \2 * 256 + \3/') )))
ifeq ($(DEBUG),1)
EXTRA_CFLAGS := -DDEBUG