mirror of
http://thekelleys.org.uk/git/dnsmasq.git
synced 2026-11-13 17:00:49 +00:00
Address allocation tweaking - lease outside dhcp-range but in subnet.
This commit is contained in:
1 parent
8b46061e73
commit
b269221c00
4 files changed
+14
-7
No files matched your search
+1
-1
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user