diff options
author | Kai Blin <kai@samba.org> | 2010-09-29 17:22:09 -0700 |
---|---|---|
committer | Kai Blin <kai@samba.org> | 2010-10-23 10:17:05 +0000 |
commit | caf4196899d864abe4bb6d3c9da3952f5b5ba8b8 (patch) | |
tree | ed0e6b993c25fef4f72df9e55718b83f6ef264a8 /source4/torture/nbt | |
parent | 97868713a0ed4a8519796abc69d282c9b2ea3121 (diff) | |
download | samba-caf4196899d864abe4bb6d3c9da3952f5b5ba8b8.tar.gz samba-caf4196899d864abe4bb6d3c9da3952f5b5ba8b8.tar.bz2 samba-caf4196899d864abe4bb6d3c9da3952f5b5ba8b8.zip |
dns/nbt: Fix spelling of the "authoritative" flag.
Diffstat (limited to 'source4/torture/nbt')
-rw-r--r-- | source4/torture/nbt/winsreplication.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/source4/torture/nbt/winsreplication.c b/source4/torture/nbt/winsreplication.c index caa2d33ede..ee4b8744e4 100644 --- a/source4/torture/nbt/winsreplication.c +++ b/source4/torture/nbt/winsreplication.c @@ -9554,10 +9554,10 @@ static void test_conflict_owned_active_vs_replica_handler_query(struct nbt_name_ } /* send a positive reply */ - rep_packet->operation = - NBT_FLAG_REPLY | - NBT_OPCODE_QUERY | - NBT_FLAG_AUTHORITIVE | + rep_packet->operation = + NBT_FLAG_REPLY | + NBT_OPCODE_QUERY | + NBT_FLAG_AUTHORITATIVE | NBT_FLAG_RECURSION_DESIRED | NBT_FLAG_RECURSION_AVAIL; @@ -9579,9 +9579,9 @@ static void test_conflict_owned_active_vs_replica_handler_query(struct nbt_name_ } else { /* send a negative reply */ rep_packet->operation = - NBT_FLAG_REPLY | - NBT_OPCODE_QUERY | - NBT_FLAG_AUTHORITIVE | + NBT_FLAG_REPLY | + NBT_OPCODE_QUERY | + NBT_FLAG_AUTHORITATIVE | NBT_RCODE_NAM; rep_packet->answers[0].rr_type = NBT_QTYPE_NULL; @@ -9632,10 +9632,10 @@ static void test_conflict_owned_active_vs_replica_handler_release( rep_packet->name_trn_id = req_packet->name_trn_id; rep_packet->ancount = 1; - rep_packet->operation = - NBT_FLAG_REPLY | + 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; |