diff options
author | Thomas Mangin <thomas.mangin@exa.net.uk> | 2020-05-02 21:26:26 +0100 |
---|---|---|
committer | Thomas Mangin <thomas.mangin@exa.net.uk> | 2020-05-02 21:26:26 +0100 |
commit | 87fc81773dea87338291ffd87f51c343a33ce0c8 (patch) | |
tree | 121458d6777d8fccec5c98e79f1dc546d2b18429 /python/vyos | |
parent | 6b920f8a02b0e5bb54a1be6718d8d81ac91b7092 (diff) | |
download | vyos-1x-87fc81773dea87338291ffd87f51c343a33ce0c8.tar.gz vyos-1x-87fc81773dea87338291ffd87f51c343a33ce0c8.zip |
interface: T2367: use self.ifname instead of self.config
Diffstat (limited to 'python/vyos')
-rw-r--r-- | python/vyos/ifconfig/interface.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/vyos/ifconfig/interface.py b/python/vyos/ifconfig/interface.py index 1f932c884..de5ca369f 100644 --- a/python/vyos/ifconfig/interface.py +++ b/python/vyos/ifconfig/interface.py @@ -723,4 +723,4 @@ class Interface(Control): self.dhcp.v6.delete() # flush all addresses - self._cmd(f'ip addr flush dev "{self.config["ifname"]}"') + self._cmd(f'ip addr flush dev "{self.ifname}"') |