summary refs log tree commit diff
path: root/pkgs/tools/networking/network-manager/l2tp/fix-paths.patch
blob: 0a068ee800c64d7115d6172626e6e15c0b95a0b0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- a/src/nm-l2tp-service.c
+++ b/src/nm-l2tp-service.c
@@ -480,7 +480,7 @@
 {
 	static const char *ipsec_binary_paths[] =
 		{
-			"/sbin/ipsec",
+			"@strongswan@/bin/ipsec",
 			"/usr/sbin/ipsec",
 			"/usr/local/sbin/ipsec",
 			"/sbin/strongswan",
@@ -505,7 +505,7 @@
 {
 	static const char *l2tp_binary_paths[] =
 		{
-			"/sbin/xl2tpd",
+			"@xl2tpd@/bin/xl2tpd",
 			"/usr/sbin/xl2tpd",
 			"/usr/local/sbin/xl2tpd",
 			NULL