lib/addns: remove pointless check for resp->num_additionals != 1
authorStefan Metzmacher <metze@samba.org>
Fri, 9 Nov 2012 07:55:40 +0000 (08:55 +0100)
committerStefan Metzmacher <metze@samba.org>
Thu, 15 Nov 2012 11:07:11 +0000 (12:07 +0100)
commit5263d4b5323b7053d87321e7208bed44d95410a0
treed0694679e5af560405dec63b09d1a9eb12eed639
parent67d5e111b34411ba1b72216b7e5bc0fc4151800c
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