2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-09-04 00:05:30 +00:00

Don't remove host and interface addresses from pools in IPv4.

See RT ticket #17131 for more.
This commit is contained in:
Shane Kerr
2007-09-07 12:20:24 +00:00
parent 6de1f33ea9
commit c61eba3b37

View File

@@ -569,9 +569,16 @@ main(int argc, char **argv) {
/* /*
* Remove addresses from our pools that we should not issue * Remove addresses from our pools that we should not issue
* to clients. * 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(); if (local_family == AF_INET6) {
mark_interfaces_unavailable(); mark_hosts_unavailable();
mark_interfaces_unavailable();
}
#endif /* DHCPv6 */ #endif /* DHCPv6 */