diff options
author | Christian Poessinger <christian@poessinger.com> | 2018-04-19 21:07:41 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2018-04-19 21:07:41 +0200 |
commit | cb1703c43c8b1e515ba6dc6a319adfe7c0bf66ee (patch) | |
tree | 355e19bc2294ff4e20b328a1af08aeda3a1766b9 | |
parent | e6d5e1d5360d8838ca39406c5e0fe21e19c772a0 (diff) | |
download | vyos-1x-cb1703c43c8b1e515ba6dc6a319adfe7c0bf66ee.tar.gz vyos-1x-cb1703c43c8b1e515ba6dc6a319adfe7c0bf66ee.zip |
broadcast-relay: bugfix loading configuration into list []
-rwxr-xr-x | src/conf-mode/vyos-config-bcast-relay.py | 4 |
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) |