From 99ec3072d092aa586426400104a6900377fd375d Mon Sep 17 00:00:00 2001 From: Luiz Gustavo Date: Wed, 16 Apr 2008 11:51:18 +0000 Subject: [PATCH] altered order of options of command ping, because not work with freebsd git-svn-id: http://svn.centreon.com/trunk/plugins-2.x@4731 6bcd3966-0018-0410-8128-fd23d134de7e --- src/check_centreon_ping | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/check_centreon_ping b/src/check_centreon_ping index 97b49c8e4..9b439c138 100644 --- a/src/check_centreon_ping +++ b/src/check_centreon_ping @@ -118,7 +118,7 @@ my $start=time; $opt_i = 1 if (!defined($opt_i) || !$opt_i); -$_ = `$ping -n -c $NbPing $opt_H -i $opt_i 2>/dev/null`; +$_ = `$ping -n -c $NbPing -i $opt_i $opt_H 2>/dev/null`; my $return = $? / 256; # @@ -199,4 +199,4 @@ sub print_help () { print "##############################################\n"; print_usage(); print "\n"; -} \ No newline at end of file +}