]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
- Fix in respip addrtree selection. Absence of addr_tree_init_parents() call
authorRalph Dolmans <ralph@nlnetlabs.nl>
Tue, 9 Jul 2019 12:58:36 +0000 (14:58 +0200)
committerRalph Dolmans <ralph@nlnetlabs.nl>
Tue, 9 Jul 2019 12:58:36 +0000 (14:58 +0200)
   made it impossible to go up the tree when the matching netmask is too
   specific.

doc/Changelog
respip/respip.c

index 6343ab565ed1c1ab8fd52df168ba1a8a0082f213..7b26c410aca4c99c6d9aff997e93f850ff9f8016 100644 (file)
@@ -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.
index d61877b556cded929eb02171cc41695e3ce889ae..36a1c9726bd07bdc781897ebe52d1d9c669bb901 100644 (file)
@@ -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;
 }