Request PD even if no interfaces are set to track6 (Bug #4544)

See https://redmine.pfsense.org/issues/4544#note-4
(cherry picked from commit b0837cebf9)
This commit is contained in:
doktornotor 2017-02-19 17:51:55 +01:00 committed by Renato Botelho
parent 2684f8d536
commit 8740bd5ed4

View File

@ -3965,7 +3965,7 @@ function interface_dhcpv6_configure($interface = "wan", $wancfg) {
if (!isset($wancfg['dhcp6prefixonly'])) {
$dhcp6cconf .= "\tsend ia-na 0;\t# request stateful address\n";
}
if (is_numeric($wancfg['dhcp6-ia-pd-len']) && !empty($trackiflist)) {
if (is_numeric($wancfg['dhcp6-ia-pd-len'])) {
$dhcp6cconf .= "\tsend ia-pd 0;\t# request prefix delegation\n";
}