From 289ca9987b14f7b0d94f528c131d080f51b1a0db Mon Sep 17 00:00:00 2001 From: Nicolas Fort Date: Wed, 2 Oct 2024 13:22:27 +0000 Subject: T6757: Openconnect: fix template for correct config parsing while configuring source address for radius authentication. --- data/templates/ocserv/radius_conf.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 * -- cgit v1.2.3