diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-07-19 10:51:00 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2020-07-19 10:51:00 +0200 |
commit | dadb09fd14046720e7898c3cbad8c5def408db9d (patch) | |
tree | aefae9962f7fdfe2969ab7483f64a1a6dbc90b4f /data | |
parent | daa810f81ce03cc0f51dfd810507d4b2c9ec0428 (diff) | |
download | vyos-1x-dadb09fd14046720e7898c3cbad8c5def408db9d.tar.gz vyos-1x-dadb09fd14046720e7898c3cbad8c5def408db9d.zip |
broadcast-relay: T2712: migrate to get_config_dict()
Add additional verify() stage to check that the relaying interface actually
exists on the system.
Diffstat (limited to 'data')
-rw-r--r-- | data/templates/bcast-relay/udp-broadcast-relay.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/data/templates/bcast-relay/udp-broadcast-relay.tmpl b/data/templates/bcast-relay/udp-broadcast-relay.tmpl index 3d8c3fe94..d0c7d8bf9 100644 --- a/data/templates/bcast-relay/udp-broadcast-relay.tmpl +++ b/data/templates/bcast-relay/udp-broadcast-relay.tmpl @@ -4,4 +4,4 @@ {%- if description %} # Comment: {{ description }} {% endif %} -DAEMON_ARGS="{% if address %}-s {{ address }} {% endif %}{{ id }} {{ port }} {{ interfaces | join(' ') }}" +DAEMON_ARGS="{{ '-s ' + address if address is defined }} {{ instance }} {{ port }} {{ interface | join(' ') }}" |