services_dhcp.php: "Ignore denied clients" is incompatible with failover
The "Ignore denied clients" option on services_dhcp.php is not compatible with a high availability configuration. If there is a value in the "Failover peer IP" box when "Ignore denied clients" is checked, input validation should reject the configuration.
The backend code must also account for it as well.
The DHCP daemon fails to start when the options are combined. When they are enabled separately, it works OK.
The option is new to 2.3, so there is no regression.
Updated by Jim Pingle over 5 years ago
- Status changed from Feedback to Resolved
Tested the fix on two different 2.3 HA setups, works fine. Attempting to combine the two options fails with an input validation error as it should. If the option was enabled previously, the backend code ignores it when a failover address is set so that the DHCP daemon can still start.