summaryrefslogtreecommitdiff
path: root/data/templates
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2025-03-06 19:25:33 +0100
committerGitHub <noreply@github.com>2025-03-06 19:25:33 +0100
commit4a5fbf5e2c809d3e108fc8e9ed93ef261ceee3dd (patch)
tree33ff8f10ba4a64e0a41820a148e1616feaf98d67 /data/templates
parent0ca77717a03358ce45bb4448e63e10000101d8b1 (diff)
parentc3a7fdc5cc75949361915db73fbac107ee53edd9 (diff)
downloadvyos-1x-4a5fbf5e2c809d3e108fc8e9ed93ef261ceee3dd.tar.gz
vyos-1x-4a5fbf5e2c809d3e108fc8e9ed93ef261ceee3dd.zip
Merge pull request #4381 from c-po/ipsec-opmode-profile
ipsec: T7225: "generate ipsec profile ios-remote-access" throws UndefinedError
Diffstat (limited to 'data/templates')
-rw-r--r--data/templates/ipsec/ios_profile.j22
1 files changed, 1 insertions, 1 deletions
diff --git a/data/templates/ipsec/ios_profile.j2 b/data/templates/ipsec/ios_profile.j2
index 966fad433..eaf00018b 100644
--- a/data/templates/ipsec/ios_profile.j2
+++ b/data/templates/ipsec/ios_profile.j2
@@ -55,7 +55,7 @@
<!-- The server is authenticated using a certificate -->
<key>AuthenticationMethod</key>
<string>Certificate</string>
-{% if authentication.client_mode.startswith("eap") %}
+{% if authentication.client_mode is vyos_defined and authentication.client_mode.startswith("eap") %}
<!-- The client uses EAP to authenticate -->
<key>ExtendedAuthEnabled</key>
<integer>1</integer>