summaryrefslogtreecommitdiff
path: root/op-mode-definitions
diff options
context:
space:
mode:
Diffstat (limited to 'op-mode-definitions')
-rw-r--r--op-mode-definitions/show-arp.xml29
1 files changed, 15 insertions, 14 deletions
diff --git a/op-mode-definitions/show-arp.xml b/op-mode-definitions/show-arp.xml
index 3d40db728..7256bef61 100644
--- a/op-mode-definitions/show-arp.xml
+++ b/op-mode-definitions/show-arp.xml
@@ -2,24 +2,25 @@
<interfaceDefinition>
<node name="show">
<children>
- <leafNode name="arp">
+ <node name="arp">
<properties>
<help>Show Address Resolution Protocol (ARP) information</help>
</properties>
<command>/usr/sbin/arp -e -n</command>
- </leafNode>
- <tagNode name="arp">
- <properties>
- <help>Show Address Resolution Protocol (ARP) cache for specified interface</help>
- <completionHelp>
- <script>${vyatta_sbindir}/vyatta-interfaces.pl --show ethernet</script>
- <script>${vyatta_sbindir}/vyatta-interfaces.pl --show bridge</script>
- <script>${vyatta_sbindir}/vyatta-interfaces.pl --show bonding</script>
- </completionHelp>
- </properties>
- <command>/usr/sbin/arp -e -n -i '$3'</command>
-
- </tagNode>
+ <children>
+ <tagNode name="interface">
+ <properties>
+ <help>Show Address Resolution Protocol (ARP) cache for specified interface</help>
+ <completionHelp>
+ <script>${vyatta_sbindir}/vyatta-interfaces.pl --show ethernet</script>
+ <script>${vyatta_sbindir}/vyatta-interfaces.pl --show bridge</script>
+ <script>${vyatta_sbindir}/vyatta-interfaces.pl --show bonding</script>
+ </completionHelp>
+ </properties>
+ <command>/usr/sbin/arp -e -n -i '$4'</command>
+ </tagNode>
+ </children>
+ </node>
</children>
</node>