summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErmal Luçi <eri@pfsense.org>2013-02-04 07:39:54 -0800
committerErmal Luçi <eri@pfsense.org>2013-02-04 07:39:54 -0800
commit9239b1ce4581c31990c8358dec964e4234a98208 (patch)
tree52fd74ed7fc3bfa6517d4de496b92ead1621d305
parentb5b5bcc041484d070fdcd1c2fecef777d85b78e7 (diff)
parent8839e3fb5c862b88e7986bab1c68055ca3310bc7 (diff)
downloadpfsense-9239b1ce4581c31990c8358dec964e4234a98208.zip
pfsense-9239b1ce4581c31990c8358dec964e4234a98208.tar.gz
Merge pull request #374 from bcyrill/patch-10
Update usr/local/www/interfaces.php
-rwxr-xr-xusr/local/www/interfaces.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/interfaces.php b/usr/local/www/interfaces.php
index 7a1abe1..4640770 100755
--- a/usr/local/www/interfaces.php
+++ b/usr/local/www/interfaces.php
@@ -213,7 +213,7 @@ switch($wancfg['ipaddrv6']) {
break;
case "dhcp6":
$pconfig['dhcp6-duid'] = $wancfg['dhcp6-duid'];
- if(empty($wancfg['dhcp6-ia-pd-len']))
+ if(!isset($wancfg['dhcp6-ia-pd-len']))
$wancfg['dhcp6-ia-pd-len'] = "none";
$pconfig['dhcp6-ia-pd-len'] = $wancfg['dhcp6-ia-pd-len'];
$pconfig['type6'] = "dhcp6";
OpenPOWER on IntegriCloud