1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-26 01:49:31 +03:00

s4 dns: More explicitly use the first question of an update packet only

This commit is contained in:
Kai Blin
2011-12-09 00:59:34 +01:00
parent 3fbb76c119
commit 509acc71dd

View File

@ -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);