mirror of
https://gitlab.isc.org/isc-projects/dhcp
synced 2025-08-31 06:15:55 +00:00
Don't remove host and interface addresses from pools in IPv4.
See RT ticket #17131 for more.
This commit is contained in:
@@ -569,9 +569,16 @@ main(int argc, char **argv) {
|
||||
/*
|
||||
* Remove addresses from our pools that we should not issue
|
||||
* to clients.
|
||||
*
|
||||
* We currently have no support for this in IPv4. It is not
|
||||
* as important in IPv4, as making pools with ranges that
|
||||
* leave out interfaces and hosts is fairly straightforward
|
||||
* using range notation, but not so handy with CIDR notation.
|
||||
*/
|
||||
mark_hosts_unavailable();
|
||||
mark_interfaces_unavailable();
|
||||
if (local_family == AF_INET6) {
|
||||
mark_hosts_unavailable();
|
||||
mark_interfaces_unavailable();
|
||||
}
|
||||
#endif /* DHCPv6 */
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user