From: Ralph Dolmans Date: Tue, 9 Jul 2019 12:58:36 +0000 (+0200) Subject: - Fix in respip addrtree selection. Absence of addr_tree_init_parents() call X-Git-Tag: release-1.9.3rc1~22 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d5ebc63addab841d2096b2151f3f0e56efd5080a;p=thirdparty%2Funbound.git - Fix in respip addrtree selection. Absence of addr_tree_init_parents() call made it impossible to go up the tree when the matching netmask is too specific. --- diff --git a/doc/Changelog b/doc/Changelog index 6343ab565..7b26c410a 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -1,3 +1,8 @@ +9 July 2019: Ralph + - Fix in respip addrtree selection. Absence of addr_tree_init_parents() + call made it impossible to go up the tree when the matching netmask is + too specific. + 5 July 2019: Ralph - Fix for possible assertion failure when answering respip CNAME from cache. diff --git a/respip/respip.c b/respip/respip.c index d61877b55..36a1c9726 100644 --- a/respip/respip.c +++ b/respip/respip.c @@ -361,6 +361,7 @@ respip_set_apply_cfg(struct respip_set* set, char* const* tagname, int num_tags, free(pd); pd = np; } + addr_tree_init_parents(&set->ip_tree); return 1; }