From 9f8b903c2207adec19e318afa9dc06d73bceb216 Mon Sep 17 00:00:00 2001 From: Jan Wagner Date: Sun, 19 Feb 2012 12:45:35 +0000 Subject: [PATCH] Add '-w %d' for inetutils-ping --- debian/changelog | 3 +++ debian/rules | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index 22a5e17..acd275b 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,6 +1,9 @@ nagios-plugins (1.4.15-6) UNRELEASED; urgency=low * Add icinga as recommand as alternative for nagios3 + * Add '-w %d' as ping argument for check_ping on non-linux plattforms, as + inetutils-ping is now supporting this, thanks Guillem Jover for bringing + this up (Closes: #655023) -- Jan Wagner Wed, 07 Sep 2011 15:33:55 +0200 diff --git a/debian/rules b/debian/rules index c1b0b68..87774f4 100755 --- a/debian/rules +++ b/debian/rules @@ -56,8 +56,8 @@ ifeq ($(DEB_HOST_ARCH_OS),linux) PING_CONFIGURE_ARGS = --with-ping-command="/bin/ping -n -U -w %d -c %d %s" \ --with-ping6-command="/bin/ping6 -n -U -w %d -c %d %s" else -PING_CONFIGURE_ARGS = --with-ping-command="/bin/ping -n -c %d %s" \ - --with-ping6-command="/bin/ping6 -n -c %d %s" +PING_CONFIGURE_ARGS = --with-ping-command="/bin/ping -n -w %d -c %d %s" \ + --with-ping6-command="/bin/ping6 -n -w %d -c %d %s" endif