iputils: update to 20200821.

This commit is contained in:
UsernameRandomlyGenerated 2021-01-24 13:25:24 +01:00 committed by Leah Neukirchen
parent a5cadcf49d
commit 67b2f540b3
2 changed files with 3 additions and 20 deletions

View file

@ -1,17 +0,0 @@
diff --git arping.c arping.c
index 77c9c56..2c87c15 100644
--- arping.c
+++ arping.c
@@ -792,7 +792,11 @@ static int event_loop(struct run_state *ctl)
close(tfd);
freeifaddrs(ctl->ifa0);
rc |= finish(ctl);
- rc |= (ctl->sent != ctl->received);
+ if (ctl->dad && ctl->quit_on_reply)
+ /* Duplicate address detection mode return value */
+ rc |= !(ctl->brd_sent != ctl->received);
+ else
+ rc |= (ctl->sent != ctl->received);
return rc;
}

View file

@ -1,7 +1,7 @@
# Template file for 'iputils'
pkgname=iputils
version=20190709
revision=3
version=20200821
revision=1
wrksrc="${pkgname}-s${version}"
build_style=meson
configure_args="-DNO_SETCAP_OR_SUID=true -DUSE_IDN=false
@ -14,7 +14,7 @@ maintainer="Enno Boland <gottox@voidlinux.org>"
license="BSD-3-Clause, GPL-2.0-or-later"
homepage="https://github.com/iputils/iputils"
distfiles="https://github.com/iputils/iputils/archive/s${version}.tar.gz"
checksum=a15720dd741d7538dd2645f9f516d193636ae4300ff7dbc8bfca757bf166490a
checksum=f265da0d02dd2259efd8c57a9c2e0c8bb3361abb14639fcffb26707be5783a5b
alternatives="
ping:ping:/usr/bin/${pkgname}-ping