summaryrefslogtreecommitdiff
path: root/op-mode-definitions
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-11-03 20:34:15 +0100
committerGitHub <noreply@github.com>2022-11-03 20:34:15 +0100
commit99200f77afebfc7a7683645fd9220b7684c86168 (patch)
tree8b2c20cc85daa3fcb3fe42258a5d811d28d4ff37 /op-mode-definitions
parent3f5464d0ee857d204dc58867065380340008f79b (diff)
parent46eda54c88ae96ed1f4aaa9ce56c505ed837f3d7 (diff)
downloadvyos-1x-99200f77afebfc7a7683645fd9220b7684c86168.tar.gz
vyos-1x-99200f77afebfc7a7683645fd9220b7684c86168.zip
Merge pull request #1604 from sever-sever/T4758
T4758: Rewrite show DHCP(v6) server leases to vyos.opmode format
Diffstat (limited to 'op-mode-definitions')
-rw-r--r--op-mode-definitions/dhcp.xml.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/op-mode-definitions/dhcp.xml.in b/op-mode-definitions/dhcp.xml.in
index 241cca0ce..ce4026ff4 100644
--- a/op-mode-definitions/dhcp.xml.in
+++ b/op-mode-definitions/dhcp.xml.in
@@ -16,7 +16,7 @@
<properties>
<help>Show DHCP server leases</help>
</properties>
- <command>sudo ${vyos_op_scripts_dir}/show_dhcp.py --leases</command>
+ <command>sudo ${vyos_op_scripts_dir}/dhcp.py show_server_leases --family inet</command>
<children>
<tagNode name="pool">
<properties>
@@ -82,7 +82,7 @@
<properties>
<help>Show DHCPv6 server leases</help>
</properties>
- <command>sudo ${vyos_op_scripts_dir}/show_dhcpv6.py --leases</command>
+ <command>sudo ${vyos_op_scripts_dir}/dhcp.py show_server_leases --family inet6</command>
<children>
<tagNode name="pool">
<properties>