summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-05-06 18:31:00 +0200
committerChristian Poessinger <christian@poessinger.com>2022-05-06 18:32:08 +0200
commita8a4b61c22a373366f9aaf84165ccae2106a4a46 (patch)
tree3da4e25f150b51372be51f9ac889eaab68b923dc
parentfced75e125c87add45c9fbd1ef92dae687f7e536 (diff)
downloadvyos-1x-a8a4b61c22a373366f9aaf84165ccae2106a4a46.tar.gz
vyos-1x-a8a4b61c22a373366f9aaf84165ccae2106a4a46.zip
ipsec: T4353: use "" quotes on road-warrior id
-rw-r--r--data/templates/ipsec/swanctl/remote_access.j23
1 files changed, 2 insertions, 1 deletions
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