dns_server: Fix CNAME handling
commit9c48dbde06ac7d0c3cea52401ddf78e604e02b83
authorVolker Lendecke <vl@samba.org>
Sat, 1 Aug 2015 15:59:14 +0000 (1 17:59 +0200)
committerVolker Lendecke <vl@samba.org>
Tue, 4 Aug 2015 11:41:17 +0000 (4 13:41 +0200)
treebad1607fa064a3c8ba5e8eea3aecb447ef38adce
parent3fbcd78a75fc8312432dec38b7dfd1d6df80e8e0
dns_server: Fix CNAME handling

recs[i].wtype is == DNS_TYPE_CNAME, and my understanding of the union is that
data.cname is filled. We get away with this, because ipv4 and ipv6 have the
same char * representation, but it's confusing.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ira Cooper <ira@samba.org>
Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Tue Aug  4 13:41:17 CEST 2015 on sn-devel-104
source4/dns_server/dns_query.c