From 509acc71dd8534539021b0ec57dd83a841119793 Mon Sep 17 00:00:00 2001 From: Kai Blin Date: Fri, 9 Dec 2011 00:59:34 +0100 Subject: s4 dns: More explicitly use the first question of an update packet only --- source4/dns_server/dns_update.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.1