s4 dns: the opcode is called OPCODE_UPDATE in the RFC, not OPCODE_REGISTER
[garming/samba-autobuild/.git] / source4 / dns_server / dns_server.c
index e1640351bf107275f4e6dbdf95760bbe42101538..899ec0c1ad177297c317e3f44fbf6105235dabb9 100644 (file)
@@ -144,7 +144,7 @@ static NTSTATUS dns_process(struct dns_server *dns,
                                               &additional, &num_additional);
 
                break;
-       case DNS_OPCODE_REGISTER:
+       case DNS_OPCODE_UPDATE:
                ret = dns_server_process_update(dns, out_packet, in_packet,
                                                answers, num_answers,
                                                &nsrecs,  &num_nsrecs,