summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorChris Buechler <cmb@pfsense.org>2016-03-03 19:44:50 -0600
committerChris Buechler <cmb@pfsense.org>2016-03-03 19:44:50 -0600
commita57762266c658e48e636b1bb794d53170a2b5c62 (patch)
tree61d74857ed7ee00e19df2f924f48e5bd9de64d39 /src
parent31b151809d04c40fd915c129d28cc9b440a0eabe (diff)
downloadpfsense-a57762266c658e48e636b1bb794d53170a2b5c62.zip
pfsense-a57762266c658e48e636b1bb794d53170a2b5c62.tar.gz
A PD-obtained subnet is always a /64 on the interface, so should be shown as such here in DHCPv6 server. Ticket #3029
Diffstat (limited to 'src')
-rw-r--r--src/usr/local/www/services_dhcpv6.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/usr/local/www/services_dhcpv6.php b/src/usr/local/www/services_dhcpv6.php
index ab69df5..b82d000 100644
--- a/src/usr/local/www/services_dhcpv6.php
+++ b/src/usr/local/www/services_dhcpv6.php
@@ -191,7 +191,7 @@ if (is_array($config['dhcpdv6'][$if])) {
if ($config['interfaces'][$if]['ipaddrv6'] == 'track6') {
$trackifname = $config['interfaces'][$if]['track6-interface'];
$trackcfg = $config['interfaces'][$trackifname];
- $ifcfgsn = 64 - $trackcfg['dhcp6-ia-pd-len'];
+ $ifcfgsn = "64";
$ifcfgip = '::';
$str_help_mask = dhcpv6_pd_str_help($ifcfgsn);
OpenPOWER on IntegriCloud