diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-08-31 19:57:06 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2020-08-31 19:59:25 +0200 |
commit | 9c63731d6683f59ea784c08852ed38e3ac22794b (patch) | |
tree | cebb83f73174ca647fdb59bccb3a584d3b3670e5 /python/vyos/ifconfig/loopback.py | |
parent | 621fcb078abb53888e995a007fb9ea31e95e34ab (diff) | |
download | vyos-1x-9c63731d6683f59ea784c08852ed38e3ac22794b.tar.gz vyos-1x-9c63731d6683f59ea784c08852ed38e3ac22794b.zip |
T2636: remove workarounds for get_config_dict()
Now that b40c52682a256 ("config: T2636: get_config_dict() returns a list on
multi node by default") is implemented the workarounds can be removed.
Diffstat (limited to 'python/vyos/ifconfig/loopback.py')
-rw-r--r-- | python/vyos/ifconfig/loopback.py | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/python/vyos/ifconfig/loopback.py b/python/vyos/ifconfig/loopback.py index 2b4ebfdcc..c70e1773f 100644 --- a/python/vyos/ifconfig/loopback.py +++ b/python/vyos/ifconfig/loopback.py @@ -64,11 +64,6 @@ class LoopbackIf(Interface): on any interface. """ addr = config.get('address', []) - # XXX workaround for T2636, convert IP address string to a list - # with one element - if isinstance(addr, str): - addr = [addr] - # We must ensure that the loopback addresses are never deleted from the system addr += self._persistent_addresses |