summaryrefslogtreecommitdiffstats
path: root/usr/local/www/interfaces.php
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2013-01-30 18:43:47 +0000
committerErmal <eri@pfsense.org>2013-01-30 18:43:47 +0000
commit9cd6b950231ce5cbbaa1a93a46ea7d28e9839cbc (patch)
tree78331e4e8ee858a15b3b9763fe2e4e625e80ae25 /usr/local/www/interfaces.php
parente2a282a0b9f7ee1636e1c2ec15e767a2f5b43fb6 (diff)
downloadpfsense-9cd6b950231ce5cbbaa1a93a46ea7d28e9839cbc.zip
pfsense-9cd6b950231ce5cbbaa1a93a46ea7d28e9839cbc.tar.gz
Do more strict checks. Also silence some more log_error under debug. Also do some sanity checks on rc.newwanipv6 before doing any operation
Diffstat (limited to '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 ee45bfb..5508c8b 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($wancfg['dhcp6-ia-pd-len'] == "")
+ if(empty($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