diff options
author | Chris Buechler <cmb@pfsense.org> | 2016-02-20 00:37:54 -0600 |
---|---|---|
committer | Chris Buechler <cmb@pfsense.org> | 2016-02-20 00:37:54 -0600 |
commit | e1953efa3dae1d2c357b9f62a9a06aae73b12efc (patch) | |
tree | ff6ba5ad99b845e93b160639f3b083c10d4feedb /src/usr/local/www/services_dhcpv6.php | |
parent | 7a9f877471f2e4e48ab98d69b824236dee36c7b8 (diff) | |
download | pfsense-e1953efa3dae1d2c357b9f62a9a06aae73b12efc.zip pfsense-e1953efa3dae1d2c357b9f62a9a06aae73b12efc.tar.gz |
DHCPv6 clean ups for PD. Ticket #3029
Diffstat (limited to 'src/usr/local/www/services_dhcpv6.php')
-rw-r--r-- | src/usr/local/www/services_dhcpv6.php | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/usr/local/www/services_dhcpv6.php b/src/usr/local/www/services_dhcpv6.php index 0a9b2e8..7a98e8a 100644 --- a/src/usr/local/www/services_dhcpv6.php +++ b/src/usr/local/www/services_dhcpv6.php @@ -600,9 +600,14 @@ $section->addInput(new Form_Checkbox( if (is_ipaddrv6($ifcfgip)) { + if ($ifcfgip == "::") { + $sntext = "Prefix Delegation"; + } else { + $sntext = gen_subnetv6($ifcfgip, $ifcfgsn); + } $section->addInput(new Form_StaticText( 'Subnet', - gen_subnetv6($ifcfgip, $ifcfgsn) + $sntext )); $section->addInput(new Form_StaticText( @@ -613,7 +618,7 @@ if (is_ipaddrv6($ifcfgip)) { $section->addInput(new Form_StaticText( 'Available Range', $range_from = gen_subnetv6($ifcfgip, $ifcfgsn) . ' to ' . gen_subnetv6_max($ifcfgip, $ifcfgsn) - )); + ))->setHelp($trackifname ? 'Prefix Delegation subnet will be appended to the beginning of the defined range':''); } if ($is_olsr_enabled) { |