Warning when using --bind-interfaces and routeable addresses.

This commit is contained in:
Simon Kelley committed 2013-10-16 14:33:23 +01:00
1 parent 45cca58592
commit dc27e148a1
4 files changed
+65 -3

No files matched your search

+1 -1
View File
@@ -724,7 +724,7 @@ int check_source(struct dns_header *header, size_t plen, unsigned char *pseudohe
}
/* is addr in the non-globally-routed IP space? */
static int private_net(struct in_addr addr, int ban_localhost)
int private_net(struct in_addr addr, int ban_localhost)
{
in_addr_t ip_addr = ntohl(addr.s_addr);