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

This commit is contained in:
Simon Kelley
2013-10-16 13:09:53 +01:00
parent 45cca58592
commit dc27e148a1
4 changed files with 65 additions and 3 deletions

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);