]> git.99rst.org Git - openwrt-packages.git/commitdiff
libdht: update to 2026-09-01
authorDaniel Golle <redacted>
Wed, 2 Sep 2026 14:15:02 +0000 (15:15 +0100)
committerDaniel Golle <redacted>
Wed, 2 Sep 2026 14:50:59 +0000 (15:50 +0100)
Two fixes to the maintenance and search timers, both of which cost a
node contacts it should have had.

Neighbourhood maintenance for both address families was gated on a
single flag that either family's bucket maintenance could set.  Bucket
maintenance only confirms nodes that are already known, while
neighbourhood maintenance is what grows the table, so a family whose
nodes never answer held back table growth for the other family too.  A
node with no route for one family still holds addresses of that family,
because they arrive in the replies of the other, so this reaches any
single-stack node on a dual-stack build.  Each family is now gated on
its own bucket maintenance, and the number of queries per round is
unchanged.

A search step scheduled for exactly its due second returned without
sending anything, because the comparison required the second to have
passed rather than arrived.  The early return left the step time alone,
so the search then waited another full interval having sent nothing.

Reset PKG_RELEASE, since the source version changed.

Signed-off-by: Daniel Golle <redacted>
libs/libdht/Makefile

index 718732aff76b4129ff7a0f7e804344ceeca0bcc4..4578e6344e0e176ce246291db3c2467158c5e7d6 100644 (file)
@@ -1,13 +1,13 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=libdht
-PKG_RELEASE:=3
+PKG_RELEASE:=1
 
 PKG_SOURCE_PROTO:=git
 PKG_SOURCE_URL:=https://github.com/jech/dht
-PKG_SOURCE_DATE:=2023-03-18
-PKG_SOURCE_VERSION:=0bbb8f4a5bd914b60de5e9fbb51573aa33a1cf18
-PKG_MIRROR_HASH:=4a24bd406dd0ac9e69d75f062b45bc0d660f1f8bed9672afc35a7afe4b13acf4
+PKG_SOURCE_DATE:=2026-09-01
+PKG_SOURCE_VERSION:=be5684aea78de7b551282f78f915be7c168a8a73
+PKG_MIRROR_HASH:=b3c1199eba7558718d39f695302998e3439f7992ef59891a2e0a7cf225d83c15
 
 PKG_LICENSE:=MIT
 PKG_LICENSE_FILES:=LICENCE
git clone https://git.99rst.org/PROJECT