summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2012-02-10 12:57:27 (GMT)
committer Peter Korsgaard <jacmet@sunsite.dk>2012-02-10 13:06:23 (GMT)
commitf37b7823e521f7989f8f35b5182330335ac9e530 (patch)
tree2b1f4acf0ecea34fb702c108a749b2765086b5d2
parent2e727571cc41a2a20cdea42998ae2739e4cce11b (diff)
downloadbuildroot-f37b7823e521f7989f8f35b5182330335ac9e530.tar.gz
buildroot-f37b7823e521f7989f8f35b5182330335ac9e530.tar.bz2
ipsec-tools: add option for dead peer detection support
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--package/ipsec-tools/Config.in5
-rw-r--r--package/ipsec-tools/ipsec-tools.mk6
2 files changed, 11 insertions, 0 deletions
diff --git a/package/ipsec-tools/Config.in b/package/ipsec-tools/Config.in
index 8a5f3d1..d4c62c6 100644
--- a/package/ipsec-tools/Config.in
+++ b/package/ipsec-tools/Config.in
@@ -33,6 +33,11 @@ config BR2_PACKAGE_IPSEC_TOOLS_FRAG
Enable IKE fragmentation, which is a workaround for
broken routers that drop fragmented packets
+config BR2_PACKAGE_IPSEC_TOOLS_DPD
+ bool "Enable DPD (Dead Peer Detection)"
+ help
+ Enable dead peer detection support
+
config BR2_PACKAGE_IPSEC_TOOLS_STATS
default y
bool "Enable statistics logging function."
diff --git a/package/ipsec-tools/ipsec-tools.mk b/package/ipsec-tools/ipsec-tools.mk
index 9781f3b..d7f8e35 100644
--- a/package/ipsec-tools/ipsec-tools.mk
+++ b/package/ipsec-tools/ipsec-tools.mk
@@ -38,6 +38,12 @@ else
IPSEC_TOOLS_CONF_OPT+= --disable-frag
endif
+ifeq ($(BR2_PACKAGE_IPSEC_TOOLS_DPD), y)
+IPSEC_TOOLS_CONF_OPT+= --enable-dpd
+else
+IPSEC_TOOLS_CONF_OPT+= --disable-dpd
+endif
+
ifeq ($(BR2_PACKAGE_IPSEC_TOOLS_STATS), y)
IPSEC_TOOLS_CONF_OPT+= --enable-stats
else