Commit bdb0fac6 authored by Franco Fichtner's avatar Franco Fichtner

dhcp: also hand out domain override in v6

parent b9820b09
...@@ -1264,6 +1264,10 @@ EOD; ...@@ -1264,6 +1264,10 @@ EOD;
$dhcpdv6conf .= " option root-path \"{$sm['rootpath']}\";\n"; $dhcpdv6conf .= " option root-path \"{$sm['rootpath']}\";\n";
} }
if (!empty($sm['domain']) && ($sm['domain'] != $dhcpv6ifconf['domain'])) {
$dhcpdv6conf .= " option domain-name \"{$sm['domain']}\";\n";
}
$dhcpdv6conf .= "}\n"; $dhcpdv6conf .= "}\n";
$i++; $i++;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment