From a04bd4901b0a7ecf289a0ab12b8cd20a3f539eb6 Mon Sep 17 00:00:00 2001 From: Christian Breunig Date: Wed, 5 Feb 2025 23:13:16 +0100 Subject: vyos.ifconfig: T5103: revert change to del_addr() signature An optional argument vrf_changed was added to the function signature but it was not put to use. We only need to restart DHCP client on add_addr(). --- python/vyos/ifconfig/interface.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/vyos/ifconfig/interface.py b/python/vyos/ifconfig/interface.py index 85f2d3484..5d8326bb3 100644 --- a/python/vyos/ifconfig/interface.py +++ b/python/vyos/ifconfig/interface.py @@ -1237,7 +1237,7 @@ class Interface(Control): return True - def del_addr(self, addr: str, vrf_changed: bool=False) -> bool: + def del_addr(self, addr: str) -> bool: """ Delete IP(v6) address from interface. Address is only deleted if it is assigned to that interface. Address format must be exactly the same as -- cgit v1.2.3