summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Fort <nicolasfort1988@gmail.com>2024-10-02 13:22:27 +0000
committerNicolas Fort <nicolasfort1988@gmail.com>2024-10-02 13:26:37 +0000
commit289ca9987b14f7b0d94f528c131d080f51b1a0db (patch)
tree7b64aaff7e4019158bc6c584c9248729a7fcf1f6
parent6b7159f2927f004320c77043d0c819a6b660806d (diff)
downloadvyos-1x-289ca9987b14f7b0d94f528c131d080f51b1a0db.tar.gz
vyos-1x-289ca9987b14f7b0d94f528c131d080f51b1a0db.zip
T6757: Openconnect: fix template for correct config parsing while configuring source address for radius authentication.
-rw-r--r--data/templates/ocserv/radius_conf.j22
1 files changed, 1 insertions, 1 deletions
diff --git a/data/templates/ocserv/radius_conf.j2 b/data/templates/ocserv/radius_conf.j2
index 1ab322f69..c86929e47 100644
--- a/data/templates/ocserv/radius_conf.j2
+++ b/data/templates/ocserv/radius_conf.j2
@@ -22,7 +22,7 @@ authserver {{ authsrv }}
{% endif %}
{% endfor %}
radius_timeout {{ authentication['radius']['timeout'] }}
-{% if source_address %}
+{% if authentication.radius.source_address is vyos_defined %}
bindaddr {{ authentication['radius']['source_address'] }}
{% else %}
bindaddr *