summaryrefslogtreecommitdiff
path: root/data/templates/ocserv/radius_conf.j2
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@vyos.io>2024-10-03 14:22:37 +0100
committerGitHub <noreply@github.com>2024-10-03 14:22:37 +0100
commit320de317aedd68446fa4a205e90bc5be53fe7062 (patch)
tree7b64aaff7e4019158bc6c584c9248729a7fcf1f6 /data/templates/ocserv/radius_conf.j2
parent6b7159f2927f004320c77043d0c819a6b660806d (diff)
parent289ca9987b14f7b0d94f528c131d080f51b1a0db (diff)
downloadvyos-1x-320de317aedd68446fa4a205e90bc5be53fe7062.tar.gz
vyos-1x-320de317aedd68446fa4a205e90bc5be53fe7062.zip
Merge pull request #4120 from nicolas-fort/T6757-ocserv-radius
T6757: Openconnect: fix template for correct config parsing while configuring source address for radius authentication.
Diffstat (limited to 'data/templates/ocserv/radius_conf.j2')
-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 *