summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Southworth <john.southworth@vyatta.com>2011-09-07 18:18:34 -0500
committerJohn Southworth <john.southworth@vyatta.com>2011-10-27 17:11:29 -0500
commit6439ca7f705f84040f7d45998d48cf7012f5077b (patch)
tree5d9ec11ec7585da6aa0565a11f1d6368cf9ed51b
parent162a22ab8dce3c3a48c15803329e743205d70247 (diff)
downloadvyatta-op-6439ca7f705f84040f7d45998d48cf7012f5077b.tar.gz
vyatta-op-6439ca7f705f84040f7d45998d48cf7012f5077b.zip
Fix ping commands off by one problem, fix help txt for ping ipv4
(cherry picked from commit 7d92aaf02a6e8f7ab2bc0e70b6d303f85a69d5f4)
-rw-r--r--templates/ping/ipv4/node.tag/node.def4
-rw-r--r--templates/ping/ipv6/node.tag/node.def2
2 files changed, 3 insertions, 3 deletions
diff --git a/templates/ping/ipv4/node.tag/node.def b/templates/ping/ipv4/node.tag/node.def
index 3b5d1a9..960c0aa 100644
--- a/templates/ping/ipv4/node.tag/node.def
+++ b/templates/ping/ipv4/node.tag/node.def
@@ -3,6 +3,6 @@
#
help: Send IPv4 ICMP echo request to specified <hostname|IPv4 address>
-allowed: echo -n '<hostname> <x:x:x:x:x>'
+allowed: echo -n '<hostname> <x.x.x.x>'
-run: /bin/ping $2
+run: /bin/ping $3
diff --git a/templates/ping/ipv6/node.tag/node.def b/templates/ping/ipv6/node.tag/node.def
index d5ec570..4a107f7 100644
--- a/templates/ping/ipv6/node.tag/node.def
+++ b/templates/ping/ipv6/node.tag/node.def
@@ -5,4 +5,4 @@
help: Send IPv6 ICMP echo request to specified <hostname|IPv6 address>
allowed: echo -n '<hostname> <h:h:h:h:h:h:h:h>'
-run: /bin/ping6 $2
+run: /bin/ping6 $3