You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/net-dialup/openl2tp/files/openl2tp-1.8-setkey.patch

13 lines
483 B

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