From 2cf9cd8a65dbf6e0c3f2080342b79c6b40559d95 Mon Sep 17 00:00:00 2001 From: Eshenko Dmitriy Date: Sat, 31 Aug 2019 19:00:15 +0300 Subject: [ping] T1450 Recovering ping for ipv6 After adding sudo, always runs `ping` instead using `ping6` for ipv6 --- scripts/ping | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/ping') 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; -- cgit v1.2.3