Address allocation tweaking - lease outside dhcp-range but in subnet.

This commit is contained in:
Simon Kelley committed 2012-09-16 22:22:23 +01:00
1 parent 8b46061e73
commit b269221c00
4 files changed
+14 -7

No files matched your search

+1 -1
View File
@@ -582,7 +582,7 @@ void lease6_filter(int lease_type, int iaid, struct dhcp_context *context)
continue;
/* leases on the wrong interface get filtered out here */
if (!address6_available(context, (struct in6_addr *)&lease->hwaddr, NULL))
if (!is_addr_in_context6(context, (struct in6_addr *)&lease->hwaddr))
lease->flags |= LEASE_USED;
}
}