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

Properly check domain when registering DHCP static mappings #533

Merged
merged 1 commit into from
Jul 5, 2018

Commits on Jun 27, 2018

  1. Properly check domain when registering DHCP static mappings

    Use of the PHP function "array_diff_assoc" results in any zone which is
    a subdomain of a given static DHCP mapping domain being populated with
    said mapping. In other words, a static DHCP mapping with a domain of
    "domain.com" would appear in any zone that is a subdomain of it, such
    as "sub1.domain.com" or "sub2.sub1.domain.com".
    
    This fix changes the logic to perform a direct domain comparison so
    that only the zone matching the exact domain specified in a given
    static DHCP mapping will be populated with such a mapping entry.
    radcool committed Jun 27, 2018
    Configuration menu
    Copy the full SHA
    8a08067 View commit details
    Browse the repository at this point in the history