commit | b269221c00dac8d3de8161f818fad613de40eabd | [log] [tgz] |
---|---|---|
author | Simon Kelley <simon@thekelleys.org.uk> | Sun Sep 16 22:15:56 2012 +0100 |
committer | Simon Kelley <simon@thekelleys.org.uk> | Sun Sep 16 22:22:23 2012 +0100 |
tree | c269cb3de81ab028df3565e0cbd86cede88e7439 | |
parent | 8b46061e735f88fee6ecc7ceab4f3974e6bd38cb [diff] [blame] |
Address allocation tweaking - lease outside dhcp-range but in subnet.
diff --git a/src/lease.c b/src/lease.c index 5f91bc8..7982476 100644 --- a/src/lease.c +++ b/src/lease.c
@@ -582,7 +582,7 @@ 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; } }