summaryrefslogtreecommitdiff
path: root/op-mode-definitions/show-arp.xml.in
diff options
context:
space:
mode:
authorViacheslav Hletenko <v.gletenko@vyos.io>2022-06-06 13:50:48 +0300
committerGitHub <noreply@github.com>2022-06-06 13:50:48 +0300
commitc40b9064d97d14bee7c5f9f9674f898a1b25a6ae (patch)
treeb7139964aca8be4da4dd51630752c0a2ce024843 /op-mode-definitions/show-arp.xml.in
parenta28833922ff0c04de34ac3b5cfc4bbc271dbb4ca (diff)
parente75ce8b7fc02c984f2d0ddaef3768d9f6431bb80 (diff)
downloadvyos-1x-c40b9064d97d14bee7c5f9f9674f898a1b25a6ae.tar.gz
vyos-1x-c40b9064d97d14bee7c5f9f9674f898a1b25a6ae.zip
Merge pull request #1347 from dmbaturin/T4446
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>