Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package iftop for openSUSE:Factory checked in at 2026-08-31 15:58:25 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/iftop (Old) and /work/SRC/openSUSE:Factory/.iftop.new.1265 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "iftop" Mon Aug 31 15:58:25 2026 rev:35 rq:1374826 version:0.99.4 Changes: -------- --- /work/SRC/openSUSE:Factory/iftop/iftop.changes 2025-03-12 20:15:21.283627319 +0100 +++ /work/SRC/openSUSE:Factory/.iftop.new.1265/iftop.changes 2026-08-31 15:58:26.705630568 +0200 @@ -1,0 +2,6 @@ +Mon Aug 24 18:32:53 UTC 2026 - Luiz Angelo Daros de Luca <[email protected]> + +- Added 008-Fix-bug-with-DNS-resolution.-https-bugzilla.redhat.c.patch + Backport fix for IPv6 DNS reverse + +------------------------------------------------------------------- New: ---- 008-Fix-bug-with-DNS-resolution.-https-bugzilla.redhat.c.patch ----------(New B)---------- New: - Added 008-Fix-bug-with-DNS-resolution.-https-bugzilla.redhat.c.patch Backport fix for IPv6 DNS reverse ----------(New E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ iftop.spec ++++++ --- /var/tmp/diff_new_pack.I34UvH/_old 2026-08-31 15:58:27.428655817 +0200 +++ /var/tmp/diff_new_pack.I34UvH/_new 2026-08-31 15:58:27.431655922 +0200 @@ -33,8 +33,9 @@ Patch5: 0001-Prefer-ncurses6w.patch Patch6: 006-iftop-choose_first_running_interface.patch Patch7: 007-iftop-declare-extern-vars.patch +Patch8: 008-Fix-bug-with-DNS-resolution.-https-bugzilla.redhat.c.patch # fix build with gcc15 -Patch8: iftop-gcc15.patch +Patch9: iftop-gcc15.patch BuildRequires: automake BuildRequires: libpcap-devel %if 0%{?suse_version} >= 1500 @@ -64,6 +65,7 @@ %patch -P 7 -p1 %endif %patch -P 8 -p1 +%patch -P 9 -p1 %build autoreconf -fiv ++++++ 008-Fix-bug-with-DNS-resolution.-https-bugzilla.redhat.c.patch ++++++ https://code.blinkace.com/pdw/iftop/-/commit/35af3cf65f17961d173b31fd3b00166ec095c226.patch >From 35af3cf65f17961d173b31fd3b00166ec095c226 Mon Sep 17 00:00:00 2001 From: Paul Warren <[email protected]> Date: Mon, 6 Feb 2017 21:35:37 +0000 Subject: [PATCH] Fix bug with DNS resolution. https://bugzilla.redhat.com/show_bug.cgi?id=1120254 --- resolver.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/resolver.c b/resolver.c index adddbc1..a3123bd 100644 --- a/resolver.c +++ b/resolver.c @@ -438,11 +438,11 @@ void resolver_worker(void* ptr) { char **ch_pp; void **void_pp; } u_old = { &old }; - if(hash_find(ns_hash, &addr, u_old.void_pp) == HASH_STATUS_OK) { + if(hash_find(ns_hash, &addr.as_addr6, u_old.void_pp) == HASH_STATUS_OK) { hash_delete(ns_hash, &addr); xfree(old); } - hash_insert(ns_hash, &addr, (void*)hostname); + hash_insert(ns_hash, &addr.as_addr6, (void*)hostname); } } @@ -488,7 +488,7 @@ void resolve(int af, void* addr, char* result, int buflen) { pthread_mutex_lock(&resolver_queue_mutex); - if(hash_find(ns_hash, raddr, u_hostname.void_pp) == HASH_STATUS_OK) { + if(hash_find(ns_hash, &raddr->as_addr6, u_hostname.void_pp) == HASH_STATUS_OK) { /* Found => already resolved, or on the queue, no need to keep * it around */ free(raddr); @@ -497,7 +497,7 @@ void resolve(int af, void* addr, char* result, int buflen) { hostname = xmalloc(INET6_ADDRSTRLEN); inet_ntop(af, &raddr->addr, hostname, INET6_ADDRSTRLEN); - hash_insert(ns_hash, raddr, hostname); + hash_insert(ns_hash, &raddr->as_addr6, hostname); if(((head + 1) % RESOLVE_QUEUE_LENGTH) == tail) { /* queue full */ -- GitLab
