summarylogtreecommitdiffstats
path: root/gentoo-openl2tp-1.8-setkey.patch
diff options
context:
space:
mode:
Diffstat (limited to 'gentoo-openl2tp-1.8-setkey.patch')
-rw-r--r--gentoo-openl2tp-1.8-setkey.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/gentoo-openl2tp-1.8-setkey.patch b/gentoo-openl2tp-1.8-setkey.patch
new file mode 100644
index 000000000000..d7b9e0681828
--- /dev/null
+++ b/gentoo-openl2tp-1.8-setkey.patch
@@ -0,0 +1,12 @@
+diff -brau openl2tp-1.8.o/plugins/ipsec.c openl2tp-1.8/plugins/ipsec.c
+--- openl2tp-1.8.o/plugins/ipsec.c 2010-01-18 11:00:08.000000000 +0200
++++ openl2tp-1.8/plugins/ipsec.c 2011-06-05 11:00:28.000000000 +0200
+@@ -31,7 +31,7 @@
+ #include "usl.h"
+ #include "l2tp_private.h"
+
+-#define IPSEC_SETKEY_CMD "/sbin/setkey"
++#define IPSEC_SETKEY_CMD "/usr/sbin/setkey"
+ #define IPSEC_SETKEY_FILE "/tmp/openl2tpd-tmp"
+ #define IPSEC_SETKEY_ACTION IPSEC_SETKEY_CMD " -f " IPSEC_SETKEY_FILE
+