Add '-w %d' for inetutils-ping

This commit is contained in:
Jan Wagner 2012-02-19 12:45:35 +00:00
parent a2e592aa15
commit 9f8b903c22
2 changed files with 5 additions and 2 deletions

3
debian/changelog vendored
View file

@ -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 <waja@cyconet.org> Wed, 07 Sep 2011 15:33:55 +0200

4
debian/rules vendored
View file

@ -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