summaryrefslogtreecommitdiff
path: root/data/templates/bcast-relay
diff options
context:
space:
mode:
Diffstat (limited to 'data/templates/bcast-relay')
-rw-r--r--data/templates/bcast-relay/udp-broadcast-relay.j25
-rw-r--r--data/templates/bcast-relay/udp-broadcast-relay.tmpl7
2 files changed, 5 insertions, 7 deletions
diff --git a/data/templates/bcast-relay/udp-broadcast-relay.j2 b/data/templates/bcast-relay/udp-broadcast-relay.j2
new file mode 100644
index 000000000..75740e04c
--- /dev/null
+++ b/data/templates/bcast-relay/udp-broadcast-relay.j2
@@ -0,0 +1,5 @@
+### Autogenerated by bcast_relay.py ###
+
+# UDP broadcast relay configuration for instance {{ id }}
+{{ '# ' ~ description if description is vyos_defined }}
+DAEMON_ARGS="{{ '-s ' ~ address if address is vyos_defined }} {{ instance }} {{ port }} {{ interface | join(' ') }}"
diff --git a/data/templates/bcast-relay/udp-broadcast-relay.tmpl b/data/templates/bcast-relay/udp-broadcast-relay.tmpl
deleted file mode 100644
index 73e9acad4..000000000
--- a/data/templates/bcast-relay/udp-broadcast-relay.tmpl
+++ /dev/null
@@ -1,7 +0,0 @@
-### 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(' ') }}"