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:
@ -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);
|
||||
|
Reference in New Issue
Block a user