diff options
author | Christian Breunig <christian@breunig.cc> | 2025-02-05 23:13:16 +0100 |
---|---|---|
committer | Christian Breunig <christian@breunig.cc> | 2025-02-05 23:13:16 +0100 |
commit | a04bd4901b0a7ecf289a0ab12b8cd20a3f539eb6 (patch) | |
tree | eb4066be78ce8e7944435c956dda45526c30fcc9 | |
parent | bc4adcf9a4b7dee5e0a56c39b707e40f6d64f482 (diff) | |
download | vyos-1x-a04bd4901b0a7ecf289a0ab12b8cd20a3f539eb6.tar.gz vyos-1x-a04bd4901b0a7ecf289a0ab12b8cd20a3f539eb6.zip |
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().
-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 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 |