d/rules: Explicitly call ping with -4 and -6 on linux arch (Closes: #863981)

This commit is contained in:
Jan Wagner 2019-03-11 12:38:37 +01:00
parent 697d611bc0
commit 7b5d4198bc

4
debian/rules vendored
View file

@ -56,8 +56,8 @@ ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
endif
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"
PING_CONFIGURE_ARGS = --with-ping-command="/bin/ping -4 -n -U -w %d -c %d %s" \
--with-ping6-command="/bin/ping -6 -n -U -w %d -c %d %s"
else
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"