summaryrefslogtreecommitdiff
path: root/scripts/vyatta-ping
AgeCommit message (Collapse)Author
2011-10-27Fix ipv6 matching in ping and tracerouteJohn Southworth
(cherry picked from commit c34a0b81b02cb875fcb0822454a9a5eca630a5a6)
2011-10-27Create new ping command with the following semanticsJohn Southworth
1. ping <ipv4|ipv6|hostname> will use * ping for a v4 address * ping6 for a v6 address * ping or ping6 for a hostname which ever resolves prefering ipv4 2. ping ipv4 <ipv4|hostname> will ping 3. ping ipv6 <ipv6|hostname> will ping6 4. ping <node> option <advanced ping options> * allows for options to pass down to ping * this is a stop gap while we add the most common options * to the CLI (cherry picked from commit 5145fd68da8f1c7f8289b99f58cb6eb96389fcef)