Commit 7b5d4198 authored by Jan Wagner's avatar Jan Wagner 💬
Browse files

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

parent 697d611b
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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"