Age | Commit message (Collapse) | Author |
|
|
|
Also reindent.
|
|
Bug 7902
Rather than fighting with regex in shell or dealing with /etc/hosts
file, just use the right tool and do it with simple perl.
Note: uses new perl 5.10 syntax for switch
|
|
(cherry picked from commit c34a0b81b02cb875fcb0822454a9a5eca630a5a6)
|
|
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)
|