[NetworkManager-libreswan/nm-1-0: 23/51] service: set cisco-unity=yes
- From: Thomas Haller <thaller src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [NetworkManager-libreswan/nm-1-0: 23/51] service: set cisco-unity=yes
- Date: Thu, 4 Oct 2018 14:07:37 +0000 (UTC)
commit 47a82cbcf0ef6dd34b698ed24455599cba02469c
Author: Lubomir Rintel <lkundrak v3 sk>
Date: Wed Apr 29 17:43:56 2015 +0200
service: set cisco-unity=yes
Otherwise racoon won't send MODE_CFG.
(cherry-picked from b59e8b37a15ec8754a17495da2c670af8536e102)
src/nm-openswan-service.c | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/src/nm-openswan-service.c b/src/nm-openswan-service.c
index f44dad1..6b643d6 100644
--- a/src/nm-openswan-service.c
+++ b/src/nm-openswan-service.c
@@ -646,6 +646,8 @@ nm_openswan_config_write (gint fd,
write_config_option (fd, " salifetime=24h\n");
write_config_option (fd, " ikelifetime=24h\n");
write_config_option (fd, " keyingtries=1\n");
+ if (libreswan)
+ write_config_option (fd, " cisco-unity=yes\n");
write_config_option (fd, " auto=add");
/* openswan requires a terminating \n (otherwise it segfaults) while
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]