From cb1703c43c8b1e515ba6dc6a319adfe7c0bf66ee Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Thu, 19 Apr 2018 21:07:41 +0200 Subject: broadcast-relay: bugfix loading configuration into list [] --- src/conf-mode/vyos-config-bcast-relay.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/conf-mode/vyos-config-bcast-relay.py') 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) -- cgit v1.2.3