Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UI Support for Configuring DHCP Subnet Mask #2800

Closed
wants to merge 1 commit into from

Commits on Nov 2, 2023

  1. Add DHCPSubnetMask option WebUI

    New DHCPSubnetMask option for the WebUI DHCP settings:
    
    /settings.php
    * a default value of 255.255.255.0
    * new field in the DHCP form. changing the router field css so that subnet should appear alongside router field. Similar to the To: & From: IP range fields.
    
    ../savesettings.php
    * Handler for DHCPSubnetMask form submission
    * New positional parameter for pihole_execute call for enabledhcp function.
    
    ../func.php
    * validSubnetMask function to validate format of input value
    
    Signed-off-by: biodigitalfish <11165243+biodigitalfish@users.noreply.github.com>
    biodigitalfish committed Nov 2, 2023
    Configuration menu
    Copy the full SHA
    9bae2f3 View commit details
    Browse the repository at this point in the history