diff options
author | Ermal <eri@pfsense.org> | 2013-01-30 18:43:47 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2013-01-30 18:43:47 +0000 |
commit | 9cd6b950231ce5cbbaa1a93a46ea7d28e9839cbc (patch) | |
tree | 78331e4e8ee858a15b3b9763fe2e4e625e80ae25 /usr/local/www/interfaces.php | |
parent | e2a282a0b9f7ee1636e1c2ec15e767a2f5b43fb6 (diff) | |
download | pfsense-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-x | usr/local/www/interfaces.php | 2 |
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"; |