struct in_addr netmask, dst_addr_4;
size_t m;
ssize_t n;
- int if_index = 0;
- int local_auth = 0, auth_dns = 0;
+ int if_index = 0, auth_dns = 0;
+#ifdef HAVE_AUTH
+ int local_auth = 0;
+#endif
struct iovec iov[1];
struct msghdr msg;
struct cmsghdr *cmptr;
{
size_t size = 0;
int norebind = 0;
+#ifdef HAVE_AUTH
int local_auth = 0;
+#endif
int checking_disabled, check_subnet;
size_t m;
unsigned short qtype;
struct iname *tmp;
#endif
+ (void)prefixlen;
+
if (!indextoname(param->fd, if_index, ifr.ifr_name) ||
ioctl(param->fd, SIOCGIFFLAGS, &ifr) == -1)
return 0;
{
al->next = zone->subnet;
zone->subnet = al;
- al->prefixlen = prefixlen;al->addr.addr.addr6 = addr->in6.sin6_addr;
+ al->prefixlen = prefixlen;
+ al->addr.addr.addr6 = addr->in6.sin6_addr;
al->flags = ADDRLIST_IPV6;
}
}