summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorVladimír Čunát <vladimir.cunat@nic.cz>2023-07-11 10:52:10 +0200
committerVladimír Čunát <vladimir.cunat@nic.cz>2023-07-11 10:52:10 +0200
commit6bf9dee9e4c059d86ce70625dd69966026cbbfdd (patch)
tree02acbc6d88a6f378ee0e708f8a0db7229f32a232 /modules
parentMerge branch 'master' into 6.0 (diff)
downloadknot-resolver-6bf9dee9e4c059d86ce70625dd69966026cbbfdd.tar.xz
knot-resolver-6bf9dee9e4c059d86ce70625dd69966026cbbfdd.zip
fixup! Merge branch 'master' into 6.0
Diffstat (limited to 'modules')
-rw-r--r--modules/hints/hints.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/modules/hints/hints.c b/modules/hints/hints.c
index e2624225..ccbc9880 100644
--- a/modules/hints/hints.c
+++ b/modules/hints/hints.c
@@ -44,10 +44,6 @@ static char * bool2jsonstr(bool val)
return result;
}
- knot_dname_in_bailiwick(qry->sname, (const uint8_t *)"\4arpa\0") > 0 &&
- (knot_dname_in_bailiwick(qry->sname, (const uint8_t *)"\7in-addr\4arpa\0") > 0
- || knot_dname_in_bailiwick(qry->sname, (const uint8_t *)"\3ip6\4arpa\0") > 0);
- if (is_rev) {
static int parse_addr_str(union kr_sockaddr *sa, const char *addr)
{
int family = strchr(addr, ':') ? AF_INET6 : AF_INET;