git.samba.org
/
obnox
/
samba
/
samba-obnox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3fbb76c
)
s4 dns: More explicitly use the first question of an update packet only
author
Kai Blin
<kai@samba.org>
Thu, 8 Dec 2011 23:59:34 +0000
(
00:59
+0100)
committer
Kai Blin
<kai@samba.org>
Fri, 9 Dec 2011 00:59:28 +0000
(
01:59
+0100)
source4/dns_server/dns_update.c
patch
|
blob
|
history
diff --git
a/source4/dns_server/dns_update.c
b/source4/dns_server/dns_update.c
index 1f968ecff59c29cd330e948f452c92f2d979525a..a8c49998f79ce9aa25828144441a4e723975e6a1 100644
(file)
--- 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);