summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKai Blin <kai@samba.org>2011-09-27 19:51:55 -0700
committerKai Blin <kai@samba.org>2011-11-04 15:51:59 +0100
commita243473b490c7345333eba7ad3f2033dfdbafdaa (patch)
tree05a732ab55ca83205bf937ccb2ce5a54d209272f
parent57bf64b37569c93fecfbdd3e9fe0c4f0acfb679e (diff)
downloadsamba-a243473b490c7345333eba7ad3f2033dfdbafdaa.tar.gz
s4 dns: the opcode is called OPCODE_UPDATE in the RFC, not OPCODE_REGISTER
-rw-r--r--librpc/idl/dns.idl2
-rw-r--r--source4/dns_server/dns_server.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/librpc/idl/dns.idl b/librpc/idl/dns.idl
index 08a1699c23e..a60c31465f1 100644
--- a/librpc/idl/dns.idl
+++ b/librpc/idl/dns.idl
@@ -36,7 +36,7 @@ interface dns
DNS_OPCODE_QUERY = (0x0<<11),
DNS_OPCODE_IQUERY = (0x1<<11),
DNS_OPCODE_STATUS = (0x2<<11),
- DNS_OPCODE_REGISTER = (0x5<<11),
+ DNS_OPCODE_UPDATE = (0x5<<11),
DNS_OPCODE_RELEASE = (0x6<<11),
DNS_OPCODE_WACK = (0x7<<11),
DNS_OPCODE_REFRESH = (0x8<<11),
diff --git a/source4/dns_server/dns_server.c b/source4/dns_server/dns_server.c
index e1640351bf1..899ec0c1ad1 100644
--- a/source4/dns_server/dns_server.c
+++ b/source4/dns_server/dns_server.c
@@ -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,