diff options
author | John Southworth <john.southworth@vyatta.com> | 2012-03-13 15:50:31 -0700 |
---|---|---|
committer | John Southworth <john.southworth@vyatta.com> | 2012-03-13 15:50:31 -0700 |
commit | 18f0f0ae25480d6b56a15dbaff97a6d4aba3fd6e (patch) | |
tree | 18b0580168fb263a2341eccd89142d18163d09cc | |
parent | 19f6448ffecd2c1fb0850bf1c5913b3024b577e9 (diff) | |
download | vyatta-op-18f0f0ae25480d6b56a15dbaff97a6d4aba3fd6e.tar.gz vyatta-op-18f0f0ae25480d6b56a15dbaff97a6d4aba3fd6e.zip |
Fix ping
-rwxr-xr-x | scripts/vyatta-ping | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/vyatta-ping b/scripts/vyatta-ping index fb3b5c3..d6561b2 100755 --- a/scripts/vyatta-ping +++ b/scripts/vyatta-ping @@ -8,7 +8,7 @@ use NetAddr::IP; use feature ":5.10"; my $host = $ARGV[0]; -my $ip = new NetAddr::IP; +my $ip = new NetAddr::IP $host; die "Unknown host: $host\n" unless defined($ip); |