ndr_dns: fix pushing unknown resource records
authorVolker Lendecke <vl@samba.org>
Fri, 29 Dec 2017 12:09:15 +0000 (13:09 +0100)
committerJeremy Allison <jra@samba.org>
Wed, 3 Jan 2018 23:37:21 +0000 (00:37 +0100)
commit15748c325c35c5e63ccff8cfcc4f3f555ebda77a
tree9b4a9b340cbb792a9b73467603169aa97343b9ff
parent300821b7934084f06b44b7a63a63db7cb544e8fa
ndr_dns: fix pushing unknown resource records

When pulling for example an RRSIG record, we end up with length!=0 *and*
unexpected.length != 0, but with an unknown rrec. We should be able to
marshall what we retrieved from the wire.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
librpc/ndr/ndr_dns.c