summaryrefslogtreecommitdiff
path: root/src/conf-mode
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2018-04-19 21:07:41 +0200
committerChristian Poessinger <christian@poessinger.com>2018-04-19 21:07:41 +0200
commitcb1703c43c8b1e515ba6dc6a319adfe7c0bf66ee (patch)
tree355e19bc2294ff4e20b328a1af08aeda3a1766b9 /src/conf-mode
parente6d5e1d5360d8838ca39406c5e0fe21e19c772a0 (diff)
downloadvyos-1x-cb1703c43c8b1e515ba6dc6a319adfe7c0bf66ee.tar.gz
vyos-1x-cb1703c43c8b1e515ba6dc6a319adfe7c0bf66ee.zip
broadcast-relay: bugfix loading configuration into list []
Diffstat (limited to 'src/conf-mode')
-rwxr-xr-xsrc/conf-mode/vyos-config-bcast-relay.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/conf-mode/vyos-config-bcast-relay.py b/src/conf-mode/vyos-config-bcast-relay.py
index 3107dce43..3d24bf334 100755
--- a/src/conf-mode/vyos-config-bcast-relay.py
+++ b/src/conf-mode/vyos-config-bcast-relay.py
@@ -41,9 +41,9 @@ def get_config():
# split the interface name listing and form a list
if conf.exists("{0} interface".format(id)):
+ intfs_names = []
intfs_names = conf.return_values("{0} interface".format(id))
- intfs_names=intfs_names.replace("'", "")
- intfs_names=intfs_names.split()
+
for name in intfs_names:
interface_list.append(name)