[monitoring-plugins] * configured.ac: ping option order

RincewindsHat git at monitoring-plugins.org
Thu Nov 18 19:00:13 CET 2021


    Module: monitoring-plugins
    Branch: check_ping_adjust_packet_size
    Commit: dda67d032a9483387a7888a5d36e9b8982c8a3bb
    Author: Oliver Skibbe <oliskibbe at gmail.com>
 Committer: RincewindsHat <12514511+RincewindsHat at users.noreply.github.com>
      Date: Mon Sep 28 15:03:43 2015 +0200
       URL: https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=dda67d0

* configured.ac: ping option order

---

 configure.ac | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index 5e2a0b3..5d15482 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1188,8 +1188,9 @@ then
 elif $PATH_TO_PING -n -s 56 -c 1 127.0.0.1 2>/dev/null | \
 	egrep -i "^round-trip|^rtt" >/dev/null
 then
-	with_ping_command="$PATH_TO_PING -n -s 56 -c %d %s"
+	with_ping_command="$PATH_TO_PING -n -c %d -s %d %s"
 	ac_cv_ping_packets_first=yes
+	ac_cv_ping_has_packetsize=yes
 	AC_MSG_RESULT([$with_ping_command])
 
 elif $PATH_TO_PING -n -c 1 127.0.0.1 2>/dev/null | \



More information about the Commits mailing list