summaryrefslogtreecommitdiffstats
path: root/source4/nbt_server
diff options
context:
space:
mode:
authorKai Blin <kai@samba.org>2010-09-29 17:22:09 -0700
committerKai Blin <kai@samba.org>2010-10-23 10:17:05 +0000
commitcaf4196899d864abe4bb6d3c9da3952f5b5ba8b8 (patch)
treeed0e6b993c25fef4f72df9e55718b83f6ef264a8 /source4/nbt_server
parent97868713a0ed4a8519796abc69d282c9b2ea3121 (diff)
downloadsamba-caf4196899d864abe4bb6d3c9da3952f5b5ba8b8.tar.gz
samba-caf4196899d864abe4bb6d3c9da3952f5b5ba8b8.tar.xz
samba-caf4196899d864abe4bb6d3c9da3952f5b5ba8b8.zip
dns/nbt: Fix spelling of the "authoritative" flag.
Diffstat (limited to 'source4/nbt_server')
-rw-r--r--source4/nbt_server/nodestatus.c2
-rw-r--r--source4/nbt_server/packet.c34
2 files changed, 18 insertions, 18 deletions
diff --git a/source4/nbt_server/nodestatus.c b/source4/nbt_server/nodestatus.c
index 8dc1f450537..f71746ab300 100644
--- a/source4/nbt_server/nodestatus.c
+++ b/source4/nbt_server/nodestatus.c
@@ -54,7 +54,7 @@ static void nbtd_node_status_reply(struct nbt_name_socket *nbtsock,
packet->name_trn_id = request_packet->name_trn_id;
packet->ancount = 1;
- packet->operation = NBT_OPCODE_QUERY | NBT_FLAG_REPLY | NBT_FLAG_AUTHORITIVE;
+ packet->operation = NBT_OPCODE_QUERY | NBT_FLAG_REPLY | NBT_FLAG_AUTHORITATIVE;
packet->answers = talloc_array(packet, struct nbt_res_rec, 1);
if (packet->answers == NULL) goto failed;
diff --git a/source4/nbt_server/packet.c b/source4/nbt_server/packet.c
index af96a0130b5..2857f1aa9b4 100644
--- a/source4/nbt_server/packet.c
+++ b/source4/nbt_server/packet.c
@@ -121,10 +121,10 @@ void nbtd_name_query_reply(struct nbt_name_socket *nbtsock,
packet->name_trn_id = request_packet->name_trn_id;
packet->ancount = 1;
- packet->operation =
- NBT_FLAG_REPLY |
- NBT_OPCODE_QUERY |
- NBT_FLAG_AUTHORITIVE |
+ packet->operation =
+ NBT_FLAG_REPLY |
+ NBT_OPCODE_QUERY |
+ NBT_FLAG_AUTHORITATIVE |
NBT_FLAG_RECURSION_DESIRED |
NBT_FLAG_RECURSION_AVAIL;
@@ -177,10 +177,10 @@ void nbtd_negative_name_query_reply(struct nbt_name_socket *nbtsock,
packet->name_trn_id = request_packet->name_trn_id;
packet->ancount = 1;
- packet->operation =
- NBT_FLAG_REPLY |
- NBT_OPCODE_QUERY |
- NBT_FLAG_AUTHORITIVE |
+ packet->operation =
+ NBT_FLAG_REPLY |
+ NBT_OPCODE_QUERY |
+ NBT_FLAG_AUTHORITATIVE |
NBT_RCODE_NAM;
packet->answers = talloc_array(packet, struct nbt_res_rec, 1);
@@ -221,10 +221,10 @@ void nbtd_name_registration_reply(struct nbt_name_socket *nbtsock,
packet->name_trn_id = request_packet->name_trn_id;
packet->ancount = 1;
- packet->operation =
- NBT_FLAG_REPLY |
+ packet->operation =
+ NBT_FLAG_REPLY |
NBT_OPCODE_REGISTER |
- NBT_FLAG_AUTHORITIVE |
+ NBT_FLAG_AUTHORITATIVE |
NBT_FLAG_RECURSION_DESIRED |
NBT_FLAG_RECURSION_AVAIL |
rcode;
@@ -269,10 +269,10 @@ void nbtd_name_release_reply(struct nbt_name_socket *nbtsock,
packet->name_trn_id = request_packet->name_trn_id;
packet->ancount = 1;
- packet->operation =
- NBT_FLAG_REPLY |
+ packet->operation =
+ NBT_FLAG_REPLY |
NBT_OPCODE_RELEASE |
- NBT_FLAG_AUTHORITIVE |
+ NBT_FLAG_AUTHORITATIVE |
rcode;
packet->answers = talloc_array(packet, struct nbt_res_rec, 1);
@@ -315,10 +315,10 @@ void nbtd_wack_reply(struct nbt_name_socket *nbtsock,
packet->name_trn_id = request_packet->name_trn_id;
packet->ancount = 1;
- packet->operation =
- NBT_FLAG_REPLY |
+ packet->operation =
+ NBT_FLAG_REPLY |
NBT_OPCODE_WACK |
- NBT_FLAG_AUTHORITIVE;
+ NBT_FLAG_AUTHORITATIVE;
packet->answers = talloc_array(packet, struct nbt_res_rec, 1);
if (packet->answers == NULL) goto failed;