diff options
author | Oliver Skibbe <oliskibbe@gmail.com> | 2015-09-28 15:03:43 +0200 |
---|---|---|
committer | RincewindsHat <12514511+RincewindsHat@users.noreply.github.com> | 2021-11-18 18:51:27 +0100 |
commit | dda67d032a9483387a7888a5d36e9b8982c8a3bb (patch) | |
tree | 5096f32d066114461dc104f5d5aba1593351698a | |
parent | a2eb4e8210deb37133ece1e6e94aad4e6c5bea14 (diff) | |
download | monitoring-plugins-dda67d0.tar.gz |
* configured.ac: ping option order
-rw-r--r-- | configure.ac | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 5e2a0b38..5d154821 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -1188,8 +1188,9 @@ then | |||
1188 | elif $PATH_TO_PING -n -s 56 -c 1 127.0.0.1 2>/dev/null | \ | 1188 | elif $PATH_TO_PING -n -s 56 -c 1 127.0.0.1 2>/dev/null | \ |
1189 | egrep -i "^round-trip|^rtt" >/dev/null | 1189 | egrep -i "^round-trip|^rtt" >/dev/null |
1190 | then | 1190 | then |
1191 | with_ping_command="$PATH_TO_PING -n -s 56 -c %d %s" | 1191 | with_ping_command="$PATH_TO_PING -n -c %d -s %d %s" |
1192 | ac_cv_ping_packets_first=yes | 1192 | ac_cv_ping_packets_first=yes |
1193 | ac_cv_ping_has_packetsize=yes | ||
1193 | AC_MSG_RESULT([$with_ping_command]) | 1194 | AC_MSG_RESULT([$with_ping_command]) |
1194 | 1195 | ||
1195 | elif $PATH_TO_PING -n -c 1 127.0.0.1 2>/dev/null | \ | 1196 | elif $PATH_TO_PING -n -c 1 127.0.0.1 2>/dev/null | \ |