diff options
-rw-r--r-- | main/ipsec-tools/racoon.confd | 1 | ||||
-rw-r--r-- | main/ipsec-tools/racoon.initd | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/main/ipsec-tools/racoon.confd b/main/ipsec-tools/racoon.confd index 66f8ed7674..bf9926c5b5 100644 --- a/main/ipsec-tools/racoon.confd +++ b/main/ipsec-tools/racoon.confd @@ -8,6 +8,7 @@ # for valid command-line options RACOON_OPTS="-4" +SETKEY_OPTS="" RACOON_CONF="/etc/racoon/racoon.conf" RACOON_PSK_FILE="/etc/racoon/psk.txt" diff --git a/main/ipsec-tools/racoon.initd b/main/ipsec-tools/racoon.initd index 16fdec7e3a..0ed4efe500 100644 --- a/main/ipsec-tools/racoon.initd +++ b/main/ipsec-tools/racoon.initd @@ -36,7 +36,7 @@ checkconfig() { start() { checkconfig || return 1 einfo "Loading ipsec policies from ${SETKEY_CONF}." - /usr/sbin/setkey -f ${SETKEY_CONF} + /usr/sbin/setkey ${SETKEY_OPTS} -f ${SETKEY_CONF} if [ $? -eq 1 ] ; then eerror "Error while loading ipsec policies" fi |