From cf8a8c0def7e56f1cc47c6c786c72671c32e060b Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sat, 2 Apr 2022 14:43:32 +0200 Subject: udp-broadcast-relay: T4333: migrate to new vyos_defined Jinja2 test --- data/templates/bcast-relay/udp-broadcast-relay.tmpl | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'data/templates/bcast-relay/udp-broadcast-relay.tmpl') diff --git a/data/templates/bcast-relay/udp-broadcast-relay.tmpl b/data/templates/bcast-relay/udp-broadcast-relay.tmpl index 73e9acad4..7b2b9b1a2 100644 --- a/data/templates/bcast-relay/udp-broadcast-relay.tmpl +++ b/data/templates/bcast-relay/udp-broadcast-relay.tmpl @@ -1,7 +1,5 @@ ### Autogenerated by bcast_relay.py ### # UDP broadcast relay configuration for instance {{ id }} -{% if description %} -# Comment: {{ description }} -{% endif %} -DAEMON_ARGS="{{ '-s ' + address if address is defined }} {{ instance }} {{ port }} {{ interface | join(' ') }}" +{{ '# ' ~ description if description is vyos_defined }} +DAEMON_ARGS="{{ '-s ' ~ address if address is defined }} {{ instance }} {{ port }} {{ interface | join(' ') }}" -- cgit v1.2.3