mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
dns/nbt: Fix spelling of the "authoritative" flag.
This commit is contained in:
parent
97868713a0
commit
caf4196899
@ -25,7 +25,7 @@ interface dns
|
||||
DNS_FLAG_RECURSION_AVAIL = 0x0080,
|
||||
DNS_FLAG_RECURSION_DESIRED = 0x0100,
|
||||
DNS_FLAG_TRUNCATION = 0x0200,
|
||||
DNS_FLAG_AUTHORITIVE = 0x0400,
|
||||
DNS_FLAG_AUTHORITATIVE = 0x0400,
|
||||
DNS_OPCODE = 0x7800,
|
||||
DNS_FLAG_REPLY = 0x8000
|
||||
} dns_operation;
|
||||
|
@ -25,7 +25,7 @@ interface nbt
|
||||
NBT_FLAG_RECURSION_AVAIL = 0x0080,
|
||||
NBT_FLAG_RECURSION_DESIRED = 0x0100,
|
||||
NBT_FLAG_TRUNCATION = 0x0200,
|
||||
NBT_FLAG_AUTHORITIVE = 0x0400,
|
||||
NBT_FLAG_AUTHORITATIVE = 0x0400,
|
||||
NBT_OPCODE = 0x7800,
|
||||
NBT_FLAG_REPLY = 0x8000
|
||||
} nbt_operation;
|
||||
|
@ -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;
|
||||
|
@ -124,7 +124,7 @@ void nbtd_name_query_reply(struct nbt_name_socket *nbtsock,
|
||||
packet->operation =
|
||||
NBT_FLAG_REPLY |
|
||||
NBT_OPCODE_QUERY |
|
||||
NBT_FLAG_AUTHORITIVE |
|
||||
NBT_FLAG_AUTHORITATIVE |
|
||||
NBT_FLAG_RECURSION_DESIRED |
|
||||
NBT_FLAG_RECURSION_AVAIL;
|
||||
|
||||
@ -180,7 +180,7 @@ void nbtd_negative_name_query_reply(struct nbt_name_socket *nbtsock,
|
||||
packet->operation =
|
||||
NBT_FLAG_REPLY |
|
||||
NBT_OPCODE_QUERY |
|
||||
NBT_FLAG_AUTHORITIVE |
|
||||
NBT_FLAG_AUTHORITATIVE |
|
||||
NBT_RCODE_NAM;
|
||||
|
||||
packet->answers = talloc_array(packet, struct nbt_res_rec, 1);
|
||||
@ -224,7 +224,7 @@ void nbtd_name_registration_reply(struct nbt_name_socket *nbtsock,
|
||||
packet->operation =
|
||||
NBT_FLAG_REPLY |
|
||||
NBT_OPCODE_REGISTER |
|
||||
NBT_FLAG_AUTHORITIVE |
|
||||
NBT_FLAG_AUTHORITATIVE |
|
||||
NBT_FLAG_RECURSION_DESIRED |
|
||||
NBT_FLAG_RECURSION_AVAIL |
|
||||
rcode;
|
||||
@ -272,7 +272,7 @@ void nbtd_name_release_reply(struct nbt_name_socket *nbtsock,
|
||||
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);
|
||||
@ -318,7 +318,7 @@ void nbtd_wack_reply(struct nbt_name_socket *nbtsock,
|
||||
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;
|
||||
|
@ -9557,7 +9557,7 @@ static void test_conflict_owned_active_vs_replica_handler_query(struct nbt_name_
|
||||
rep_packet->operation =
|
||||
NBT_FLAG_REPLY |
|
||||
NBT_OPCODE_QUERY |
|
||||
NBT_FLAG_AUTHORITIVE |
|
||||
NBT_FLAG_AUTHORITATIVE |
|
||||
NBT_FLAG_RECURSION_DESIRED |
|
||||
NBT_FLAG_RECURSION_AVAIL;
|
||||
|
||||
@ -9581,7 +9581,7 @@ static void test_conflict_owned_active_vs_replica_handler_query(struct nbt_name_
|
||||
rep_packet->operation =
|
||||
NBT_FLAG_REPLY |
|
||||
NBT_OPCODE_QUERY |
|
||||
NBT_FLAG_AUTHORITIVE |
|
||||
NBT_FLAG_AUTHORITATIVE |
|
||||
NBT_RCODE_NAM;
|
||||
|
||||
rep_packet->answers[0].rr_type = NBT_QTYPE_NULL;
|
||||
@ -9635,7 +9635,7 @@ static void test_conflict_owned_active_vs_replica_handler_release(
|
||||
rep_packet->operation =
|
||||
NBT_FLAG_REPLY |
|
||||
NBT_OPCODE_RELEASE |
|
||||
NBT_FLAG_AUTHORITIVE;
|
||||
NBT_FLAG_AUTHORITATIVE;
|
||||
|
||||
rep_packet->answers = talloc_array(rep_packet, struct nbt_res_rec, 1);
|
||||
if (rep_packet->answers == NULL) return;
|
||||
|
Loading…
Reference in New Issue
Block a user