jhthorsen / net-isc-dhcpd

Perl module that interacts with ISC DHCPd
http://search.cpan.org/perldoc?Net::ISC::DHCPd
11 stars 6 forks source link

Includes in subnet block are processed as KeyValues #29

Closed jesusbagpuss closed 6 years ago

jesusbagpuss commented 7 years ago

When this module encounters an include as part of a subnet block e.g.

subnet 10.11.21.0 netmask 255.255.255.224 {
        option routers 10.11.21.221;
        include "/etc/local/dhcpd/current/10.11.21_24.hosts.conf";
}

the include is parsed as a KeyValue, not an Include.

There may be similarities with this comment: https://github.com/jhthorsen/net-isc-dhcpd/issues/26#issuecomment-221070171 - where a module wasn't expecting a specific child type to be present.

rfdrake commented 6 years ago

Sorry it took so long to get to this. I just saw the email about it.