]> git.ipfire.org Git - thirdparty/pdns.git/commit
SuffixMatchNode: Fix insertion issue for an existing node 5024/head
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:55 +0000 (14:08 +0100)
commit4e84778b36885406558af8d23438d38de6ba0dbe
treef38db4d83682114af47ae34e03ebff7e930fc369
parentfbeb8ad20a4752ce5edf5a8e948f08882a39ffb3
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