dhcp: also hand out domain override in v6

This commit is contained in:
Franco Fichtner 2016-11-20 15:40:26 +01:00
parent b9820b0966
commit bdb0fac62c

View File

@ -1264,6 +1264,10 @@ EOD;
$dhcpdv6conf .= " option root-path \"{$sm['rootpath']}\";\n";
}
if (!empty($sm['domain']) && ($sm['domain'] != $dhcpv6ifconf['domain'])) {
$dhcpdv6conf .= " option domain-name \"{$sm['domain']}\";\n";
}
$dhcpdv6conf .= "}\n";
$i++;
}