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-09-07 18:18:34 -0500
commit7d92aaf02a6e8f7ab2bc0e70b6d303f85a69d5f4 (patch)
tree06cca6dff806b3451be1a388adcc4f6d10664ed7
parentfe45ff72d582d2f84d9db15ad82fb8aca0047c03 (diff)
downloadvyatta-op-7d92aaf02a6e8f7ab2bc0e70b6d303f85a69d5f4.tar.gz
vyatta-op-7d92aaf02a6e8f7ab2bc0e70b6d303f85a69d5f4.zip
Fix ping commands off by one problem, fix help txt for ping ipv4
-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