diff options
author | Christian Breunig <christian@breunig.cc> | 2024-03-28 12:42:48 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-28 12:42:48 +0100 |
commit | 889c1a81a9e291a276e35617f1d77f9f9bd4b194 (patch) | |
tree | 6c674939cfb9274d2839a6d9e3c2f9da1953bc28 /op-mode-definitions | |
parent | 63b9889f2070ae09774c71ff1449a5c1f7b99881 (diff) | |
parent | 7dbaa25a199a781aaa9f269741547e576410cb11 (diff) | |
download | vyos-1x-889c1a81a9e291a276e35617f1d77f9f9bd4b194.tar.gz vyos-1x-889c1a81a9e291a276e35617f1d77f9f9bd4b194.zip |
Merge pull request #3194 from c-po/dhclient-T6175
op-mode: T6175: "renew dhcp interface <name>" does not check for DHCP interface
Diffstat (limited to 'op-mode-definitions')
-rw-r--r-- | op-mode-definitions/dhcp.xml.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/op-mode-definitions/dhcp.xml.in b/op-mode-definitions/dhcp.xml.in index 3c42c8e8f..0b4a05ffe 100644 --- a/op-mode-definitions/dhcp.xml.in +++ b/op-mode-definitions/dhcp.xml.in @@ -293,7 +293,7 @@ <script>${vyos_completion_dir}/list_interfaces</script> </completionHelp> </properties> - <command>sudo systemctl restart "dhclient@$4.service"</command> + <command>sudo ${vyos_op_scripts_dir}/dhcp.py renew_client_lease --family inet --interface "$4"</command> </tagNode> </children> </node> @@ -309,7 +309,7 @@ <script>${vyos_completion_dir}/list_interfaces</script> </completionHelp> </properties> - <command>sudo systemctl restart "dhcp6c@$4.service"</command> + <command>sudo ${vyos_op_scripts_dir}/dhcp.py renew_client_lease --family inet6 --interface "$4"</command> </tagNode> </children> </node> |