shared: dns-name - use the canonical dns name ordering
authorTom Gundersen <teg@jklm.no>
Mon, 20 Jul 2015 14:01:03 +0000 (16:01 +0200)
committerTom Gundersen <teg@jklm.no>
Mon, 27 Jul 2015 22:07:32 +0000 (00:07 +0200)
commit5dfd7011ba4821010825bf1259006bfb9918201c
tree6bdd4c3065861234e99e33ebe6099b14ec72c7c3
parent642900d3fa479c01d29ebe8268746d06d1c63703
shared: dns-name - use the canonical dns name ordering

The canonical DNS name ordering considers the rightmost label the most significant,
we were considering it the least significant. This is important when implementing
NSEC, which relies on the correct order.
src/shared/dns-domain.c