summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2018-04-19 21:08:03 +0200
committerChristian Poessinger <christian@poessinger.com>2018-04-19 21:08:03 +0200
commit8aed27f85795b6506f1d2ed98276d70f482506e0 (patch)
treed871dd8d3e1550199fa63573473b3c2098c1972b
parentcb1703c43c8b1e515ba6dc6a319adfe7c0bf66ee (diff)
downloadvyos-1x-8aed27f85795b6506f1d2ed98276d70f482506e0.tar.gz
vyos-1x-8aed27f85795b6506f1d2ed98276d70f482506e0.zip
broadcast-relay: bugfix writing daemon config file
-rwxr-xr-xsrc/conf-mode/vyos-config-bcast-relay.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf-mode/vyos-config-bcast-relay.py b/src/conf-mode/vyos-config-bcast-relay.py
index 3d24bf334..f60664051 100755
--- a/src/conf-mode/vyos-config-bcast-relay.py
+++ b/src/conf-mode/vyos-config-bcast-relay.py
@@ -90,7 +90,7 @@ def generate(relays):
for relay in relays:
file = config_file + str(relay["id"])
interfaces = ' '.join(str(intf) for intf in relay["interfaces"])
- config_args = 'DAEMON_ARGS="{0} {1} {2}"\n'.format(relay["id"], relay["port"], interfaces)
+ config_args = 'DAEMON_ARGS="{0} {1}"\n'.format(relay["port"], interfaces)
f = open(file, 'w')
f.write(config_header)