summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-05-01 18:34:09 +0200
committerChristian Poessinger <christian@poessinger.com>2022-05-01 18:34:09 +0200
commit578ce55e56882062953e37d51e2c1cbebd437e35 (patch)
tree650e0b5dbd7c3450c49fa8ef75bb517ee4f2e6a5
parent9beeba732c2669024e76928cff12ef95e4f16c78 (diff)
downloadvyos-1x-578ce55e56882062953e37d51e2c1cbebd437e35.tar.gz
vyos-1x-578ce55e56882062953e37d51e2c1cbebd437e35.zip
bcast-relay: T4353: fix Jinja2 linting errors
-rw-r--r--data/templates/bcast-relay/udp-broadcast-relay.j2 (renamed from data/templates/bcast-relay/udp-broadcast-relay.tmpl)0
-rwxr-xr-xsrc/conf_mode/bcast_relay.py4
2 files changed, 2 insertions, 2 deletions
diff --git a/data/templates/bcast-relay/udp-broadcast-relay.tmpl b/data/templates/bcast-relay/udp-broadcast-relay.j2
index 75740e04c..75740e04c 100644
--- a/data/templates/bcast-relay/udp-broadcast-relay.tmpl
+++ b/data/templates/bcast-relay/udp-broadcast-relay.j2
diff --git a/src/conf_mode/bcast_relay.py b/src/conf_mode/bcast_relay.py
index d93a2a8f4..39a2971ce 100755
--- a/src/conf_mode/bcast_relay.py
+++ b/src/conf_mode/bcast_relay.py
@@ -1,6 +1,6 @@
#!/usr/bin/env python3
#
-# Copyright (C) 2017-2020 VyOS maintainers and contributors
+# Copyright (C) 2017-2022 VyOS maintainers and contributors
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 or later as
@@ -78,7 +78,7 @@ def generate(relay):
continue
config['instance'] = instance
- render(config_file_base + instance, 'bcast-relay/udp-broadcast-relay.tmpl',
+ render(config_file_base + instance, 'bcast-relay/udp-broadcast-relay.j2',
config)
return None