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

Fix #6720 DHCP options by pool #3112

Merged
merged 2 commits into from Aug 29, 2016
Merged

Fix #6720 DHCP options by pool #3112

merged 2 commits into from Aug 29, 2016

Commits on Aug 16, 2016

  1. Fix #6720 DHCP options by pool

    It is a little bit tricky having to generate the unique "option custom-if-n-m code ..." lines at first where n = pool index and m = item index in the items of the pool. Then make sure to reference that later, getting the same pool index into the array of pools. The $all_pools array as the "overall" or "base" pool first (at index 0), followed by the user-specified pools at index 1, 2, 3,... - which are actually at indexes 0, 1, 2,... in the ordinary array of pools in the config. So the -1 at line 910 has to happen.
    But it works for me.
    Phil Davis committed Aug 16, 2016
    Configuration menu
    Copy the full SHA
    2859872 View commit details
    Browse the repository at this point in the history

Commits on Aug 17, 2016

  1. Indent dhcpd.conf option custom

    Phil Davis committed Aug 17, 2016
    Configuration menu
    Copy the full SHA
    c507161 View commit details
    Browse the repository at this point in the history