ipsec-tools: add option for dead peer detection support

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
Peter Korsgaard 2012-02-10 13:57:27 +01:00
parent 2e727571cc
commit f37b7823e5
2 changed files with 11 additions and 0 deletions

View File

@ -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."

View File

@ -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