From a8a4b61c22a373366f9aaf84165ccae2106a4a46 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Fri, 6 May 2022 18:31:00 +0200 Subject: ipsec: T4353: use "" quotes on road-warrior id --- data/templates/ipsec/swanctl/remote_access.j2 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/data/templates/ipsec/swanctl/remote_access.j2 b/data/templates/ipsec/swanctl/remote_access.j2 index 676ad88b3..d2760ec1f 100644 --- a/data/templates/ipsec/swanctl/remote_access.j2 +++ b/data/templates/ipsec/swanctl/remote_access.j2 @@ -18,7 +18,8 @@ {% endif %} local { {% if rw_conf.authentication.id is vyos_defined and rw_conf.authentication.use_x509_id is not vyos_defined %} - id = '{{ rw_conf.authentication.id }}' +{# please use " quotes - else Apple iOS goes crazy #} + id = "{{ rw_conf.authentication.id }}" {% endif %} {% if rw_conf.authentication.server_mode == 'x509' %} auth = pubkey -- cgit v1.2.3