1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-23 09:57:40 +03:00

dns_server: Fix typo in dns_authoritative_for_zone() name.

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
Garming Sam 2016-05-31 10:48:15 +12:00 committed by Garming Sam
parent f67a3c2eb9
commit 9394e14626
3 changed files with 6 additions and 6 deletions

View File

@ -507,7 +507,7 @@ static struct tevent_req *handle_dnsrpcrec_send(
.name = rec->data.cname
};
if (dns_authorative_for_zone(dns, new_q->name)) {
if (dns_authoritative_for_zone(dns, new_q->name)) {
subreq = handle_authoritative_send(
state, ev, dns, forwarder, new_q,
state->answers, state->nsrecs);
@ -984,7 +984,7 @@ struct tevent_req *dns_server_process_query_send(
DLIST_ADD_END(state->forwarders, f);
}
if (dns_authorative_for_zone(dns, in->questions[0].name)) {
if (dns_authoritative_for_zone(dns, in->questions[0].name)) {
req_state->flags |= DNS_FLAG_AUTHORITATIVE;

View File

@ -84,8 +84,8 @@ WERROR dns_server_process_update(struct dns_server *dns,
bool dns_name_equal(const char *name1, const char *name2);
bool dns_records_match(struct dnsp_DnssrvRpcRecord *rec1,
struct dnsp_DnssrvRpcRecord *rec2);
bool dns_authorative_for_zone(struct dns_server *dns,
const char *name);
bool dns_authoritative_for_zone(struct dns_server *dns,
const char *name);
const char *dns_get_authoritative_zone(struct dns_server *dns,
const char *name);
WERROR dns_lookup_records(struct dns_server *dns,

View File

@ -130,8 +130,8 @@ WERROR dns_replace_records(struct dns_server *dns,
needs_add, dwSerial, records, rec_count);
}
bool dns_authorative_for_zone(struct dns_server *dns,
const char *name)
bool dns_authoritative_for_zone(struct dns_server *dns,
const char *name)
{
const struct dns_server_zone *z;
size_t host_part_len = 0;