lib/addns: remove pointless check for resp->num_additionals != 1
commit0a836951838a1aa70b1f6ade4ad09d4e6cee3c24
authorStefan Metzmacher <metze@samba.org>
Fri, 9 Nov 2012 07:55:40 +0000 (9 08:55 +0100)
committerKarolin Seeger <kseeger@samba.org>
Fri, 16 Nov 2012 08:08:53 +0000 (16 09:08 +0100)
tree3debef9d46e7eec86aef04a61fd4d8daf317250c
parent364a70cc4d5aea4006ceb3dde97779242afa328c
lib/addns: remove pointless check for resp->num_additionals != 1

We never use resp->additionals, so there's no reason to check.

This fixes dns updates against BIND9 (used in a Samba4 domain).

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
(cherry picked from commit b59c5db5f74f56c0536635a41ae51c389109ceb5)
lib/addns/dnsgss.c