From 87fc81773dea87338291ffd87f51c343a33ce0c8 Mon Sep 17 00:00:00 2001 From: Thomas Mangin Date: Sat, 2 May 2020 21:26:26 +0100 Subject: interface: T2367: use self.ifname instead of self.config --- python/vyos/ifconfig/interface.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python/vyos/ifconfig/interface.py') 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}"') -- cgit v1.2.3