diff options
author | Kai Blin <kai@samba.org> | 2011-12-09 00:59:34 +0100 |
---|---|---|
committer | Kai Blin <kai@samba.org> | 2011-12-09 01:59:28 +0100 |
commit | 509acc71dd8534539021b0ec57dd83a841119793 (patch) | |
tree | e1f01bdecd9ac035c983110dc9b0f18ef2172d48 /source4 | |
parent | 3fbb76c119eaa1becb2df72d54cd4685771628df (diff) | |
download | samba-509acc71dd8534539021b0ec57dd83a841119793.tar.gz |
s4 dns: More explicitly use the first question of an update packet only
Diffstat (limited to 'source4')
-rw-r--r-- | source4/dns_server/dns_update.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/dns_server/dns_update.c b/source4/dns_server/dns_update.c index 1f968ecff59..a8c49998f79 100644 --- a/source4/dns_server/dns_update.c +++ b/source4/dns_server/dns_update.c @@ -140,7 +140,7 @@ WERROR dns_server_process_update(struct dns_server *dns, return DNS_ERR(FORMAT_ERROR); } - zone = in->questions; + zone = &in->questions[0]; if (zone->question_type != DNS_QTYPE_SOA) { return DNS_ERR(FORMAT_ERROR); |