diff options
author | Eshenko Dmitriy <snooppy@mail.ua> | 2019-08-31 19:00:15 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-31 19:00:15 +0300 |
commit | 2cf9cd8a65dbf6e0c3f2080342b79c6b40559d95 (patch) | |
tree | 1542a810a8d96e76ce90ec1a460868d68e249c21 /scripts/ping | |
parent | 8efa92beebfbeb70dd834b568365eda161271d38 (diff) | |
download | vyatta-op-2cf9cd8a65dbf6e0c3f2080342b79c6b40559d95.tar.gz vyatta-op-2cf9cd8a65dbf6e0c3f2080342b79c6b40559d95.zip |
[ping] T1450 Recovering ping for ipv6
After adding sudo, always runs `ping` instead using `ping6` for ipv6
Diffstat (limited to 'scripts/ping')
-rwxr-xr-x | scripts/ping | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/ping b/scripts/ping index 2737383..06d38d5 100755 --- a/scripts/ping +++ b/scripts/ping @@ -238,7 +238,7 @@ given ($ip->version) { } } -my @cmdargs = ( 'ping' ); +my @cmdargs = ( $cmd ); my $args = [ 'ping', $host, @ARGV ]; $args = expand_args(\%options, $args); shift @$args; shift @$args; |