mirror of
https://github.com/NLnetLabs/unbound.git
synced 2025-12-20 23:00:56 -05:00
- Fix check interface existence for support detection in remote lookup.
This commit is contained in:
parent
2c3225e6c7
commit
c084c27b39
3 changed files with 5 additions and 2 deletions
|
|
@ -1248,7 +1248,7 @@ cachedump.lo cachedump.o: $(srcdir)/daemon/cachedump.c config.h $(srcdir)/daemon
|
||||||
$(srcdir)/util/regional.h $(srcdir)/util/net_help.h $(srcdir)/util/data/dname.h $(srcdir)/iterator/iterator.h \
|
$(srcdir)/util/regional.h $(srcdir)/util/net_help.h $(srcdir)/util/data/dname.h $(srcdir)/iterator/iterator.h \
|
||||||
$(srcdir)/services/outbound_list.h $(srcdir)/iterator/iter_delegpt.h $(srcdir)/iterator/iter_utils.h \
|
$(srcdir)/services/outbound_list.h $(srcdir)/iterator/iter_delegpt.h $(srcdir)/iterator/iter_utils.h \
|
||||||
$(srcdir)/iterator/iter_resptype.h $(srcdir)/iterator/iter_fwd.h $(srcdir)/iterator/iter_hints.h \
|
$(srcdir)/iterator/iter_resptype.h $(srcdir)/iterator/iter_fwd.h $(srcdir)/iterator/iter_hints.h \
|
||||||
$(srcdir)/sldns/wire2str.h $(srcdir)/sldns/str2wire.h $(srcdir)/util/config_file.h
|
$(srcdir)/sldns/wire2str.h $(srcdir)/sldns/str2wire.h $(srcdir)/util/config_file.h $(srcdir)/services/outside_network.h
|
||||||
daemon.lo daemon.o: $(srcdir)/daemon/daemon.c config.h $(srcdir)/daemon/daemon.h $(srcdir)/util/locks.h \
|
daemon.lo daemon.o: $(srcdir)/daemon/daemon.c config.h $(srcdir)/daemon/daemon.h $(srcdir)/util/locks.h \
|
||||||
$(srcdir)/util/log.h $(srcdir)/util/alloc.h $(srcdir)/services/modstack.h \
|
$(srcdir)/util/log.h $(srcdir)/util/alloc.h $(srcdir)/services/modstack.h \
|
||||||
$(srcdir)/daemon/worker.h $(srcdir)/libunbound/worker.h \
|
$(srcdir)/daemon/worker.h $(srcdir)/libunbound/worker.h \
|
||||||
|
|
|
||||||
|
|
@ -47,6 +47,7 @@
|
||||||
#include "services/cache/rrset.h"
|
#include "services/cache/rrset.h"
|
||||||
#include "services/cache/dns.h"
|
#include "services/cache/dns.h"
|
||||||
#include "services/cache/infra.h"
|
#include "services/cache/infra.h"
|
||||||
|
#include "services/outside_network.h"
|
||||||
#include "util/data/msgreply.h"
|
#include "util/data/msgreply.h"
|
||||||
#include "util/regional.h"
|
#include "util/regional.h"
|
||||||
#include "util/net_help.h"
|
#include "util/net_help.h"
|
||||||
|
|
@ -856,7 +857,8 @@ int print_deleg_lookup(RES* ssl, struct worker* worker, uint8_t* nm,
|
||||||
}
|
}
|
||||||
/* go up? */
|
/* go up? */
|
||||||
if(iter_dp_is_useless(&qinfo, BIT_RD, dp,
|
if(iter_dp_is_useless(&qinfo, BIT_RD, dp,
|
||||||
worker->env.cfg->do_ip4, worker->env.cfg->do_ip6)) {
|
(worker->env.cfg->do_ip4 && worker->back->num_ip4 != 0),
|
||||||
|
(worker->env.cfg->do_ip6 && worker->back->num_ip6 != 0))) {
|
||||||
print_dp_main(ssl, dp, msg);
|
print_dp_main(ssl, dp, msg);
|
||||||
print_dp_details(ssl, worker, dp);
|
print_dp_details(ssl, worker, dp);
|
||||||
if(!ssl_printf(ssl, "cache delegation was "
|
if(!ssl_printf(ssl, "cache delegation was "
|
||||||
|
|
|
||||||
|
|
@ -2,6 +2,7 @@
|
||||||
- Fix to detect that no IPv6 support means that IPv6 addresses are
|
- Fix to detect that no IPv6 support means that IPv6 addresses are
|
||||||
useless for delegation point lookups.
|
useless for delegation point lookups.
|
||||||
- update Makefile dependencies.
|
- update Makefile dependencies.
|
||||||
|
- Fix check interface existence for support detection in remote lookup.
|
||||||
|
|
||||||
18 February 2022: Wouter
|
18 February 2022: Wouter
|
||||||
- Fix that address not available is squelched from the logs for
|
- Fix that address not available is squelched from the logs for
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue