summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2025-02-05 23:13:16 +0100
committerChristian Breunig <christian@breunig.cc>2025-02-05 23:13:16 +0100
commita04bd4901b0a7ecf289a0ab12b8cd20a3f539eb6 (patch)
treeeb4066be78ce8e7944435c956dda45526c30fcc9
parentbc4adcf9a4b7dee5e0a56c39b707e40f6d64f482 (diff)
downloadvyos-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.py2
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