diff --git a/src/etc/inc/services.inc b/src/etc/inc/services.inc index 3e797ce97..fc264ff35 100644 --- a/src/etc/inc/services.inc +++ b/src/etc/inc/services.inc @@ -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++; }