summaryrefslogtreecommitdiff
path: root/op-mode-definitions/show-arp.xml.in
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@vyos.io>2022-06-02 09:20:37 -0400
committerDaniil Baturin <daniil@vyos.io>2022-06-02 09:20:37 -0400
commit67b342a2c59035a5282f92e3b3d77f698dc8887c (patch)
tree10883d56d49d9cbab035db896d0eb8b0399f3b3d /op-mode-definitions/show-arp.xml.in
parentb9a26085b49397eb73e7110872b5c07015c911b4 (diff)
downloadvyos-1x-67b342a2c59035a5282f92e3b3d77f698dc8887c.tar.gz
vyos-1x-67b342a2c59035a5282f92e3b3d77f698dc8887c.zip
T4446: use a unified neighbor display script
Diffstat (limited to 'op-mode-definitions/show-arp.xml.in')
-rw-r--r--op-mode-definitions/show-arp.xml.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/op-mode-definitions/show-arp.xml.in b/op-mode-definitions/show-arp.xml.in
index 12e7d3aa2..58cc6e45e 100644
--- a/op-mode-definitions/show-arp.xml.in
+++ b/op-mode-definitions/show-arp.xml.in
@@ -6,7 +6,7 @@
<properties>
<help>Show Address Resolution Protocol (ARP) information</help>
</properties>
- <command>/usr/sbin/arp -e -n</command>
+ <command>${vyos_op_scripts_dir}/show_neigh.py --family inet</command>
<children>
<tagNode name="interface">
<properties>
@@ -15,7 +15,7 @@
<script>${vyos_completion_dir}/list_interfaces.py -b</script>
</completionHelp>
</properties>
- <command>/usr/sbin/arp -e -n -i "$4"</command>
+ <command>${vyos_op_scripts_dir}/show_neigh.py --family inet --interface "$4"</command>
</tagNode>
</children>
</node>