]> granicus.if.org Git - pdns/commit
SuffixMatchNode: Fix insertion issue for an existing node
authorRemi Gacogne <remi.gacogne@powerdns.com>
Mon, 12 Dec 2016 16:16:11 +0000 (17:16 +0100)
committerPieter Lexis <pieter.lexis@powerdns.com>
Tue, 14 Feb 2017 13:08:02 +0000 (14:08 +0100)
commit547d68ff19f082e7c986b34b04a6ea6ad605a62b
tree6ffbdb0af42309de6f5f54c7b842edd267f3b0cc
parenta08b422d4b9ec0ca250478b44a905042f40cdd2a
SuffixMatchNode: Fix insertion issue for an existing node

If the node we are about to insert already existed as an intermediary
one, we need to mark it as an end node.

(cherry picked from commit ed221d0bc700158c21fcb8fc4463085713d07c53)
pdns/dnsname.hh
pdns/test-dnsname_cc.cc