mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 12:53:05 +00:00
27 lines
608 B
Diff
27 lines
608 B
Diff
diff --git a/src/nm-l2tp-service.c b/src/nm-l2tp-service.c
|
|
index d2c9dc4..e61d3d2 100644
|
|
--- a/src/nm-l2tp-service.c
|
|
+++ b/src/nm-l2tp-service.c
|
|
@@ -655,9 +655,7 @@ nm_find_ipsec (void)
|
|
{
|
|
static const char *ipsec_binary_paths[] =
|
|
{
|
|
- "/sbin/ipsec",
|
|
- "/usr/sbin/ipsec",
|
|
- "/usr/local/sbin/ipsec",
|
|
+ "@strongswan@/bin/ipsec",
|
|
NULL
|
|
};
|
|
|
|
@@ -677,9 +675,7 @@ nm_find_l2tpd (void)
|
|
{
|
|
static const char *l2tp_binary_paths[] =
|
|
{
|
|
- "/sbin/xl2tpd",
|
|
- "/usr/sbin/xl2tpd",
|
|
- "/usr/local/sbin/xl2tpd",
|
|
+ "@xl2tpd@/bin/xl2tpd",
|
|
NULL
|
|
};
|
|
|