Complex DHCP subnets aren't parsed correctly.
Here's an example:
subnet 10.x.x.96 netmask 255.255.255.224
{
option subnet-mask 255.255.255.224;
option routers 10.x.x.97;
pool
{
range 10.x.x.98 10.x.x.103;
}
pool
{
range 10.x.x.105 10.x.x.114;
}
pool
{
range 10.x.x.116 10.x.x.126;
}
}
The best solution I can think of is to make a reference counter for
braces, starting with FIND_NET as an optional match .*(\{)?
then rather than matching $tab\} as the last match, it could increment
and decrement the brace counter.