Always answer queries for authoritative zones locally, never forward.

This commit is contained in:
Simon Kelley committed 2013-10-18 22:00:39 +01:00
1 parent 53c4c5c859
commit b485ed97aa
4 files changed
+38 -6

No files matched your search

+1 -1
View File
@@ -62,7 +62,7 @@ static int filter_constructed_dhcp(struct auth_zone *zone, int flag, struct all_
return filter_zone(zone, flag, addr_u) != NULL;
}
static int in_zone(struct auth_zone *zone, char *name, char **cut)
int in_zone(struct auth_zone *zone, char *name, char **cut)
{
size_t namelen = strlen(name);
size_t domainlen = strlen(zone->domain);