summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorSeth Mos <seth.mos@dds.nl>2011-04-15 22:57:38 +0200
committerSeth Mos <seth.mos@dds.nl>2011-04-15 22:57:38 +0200
commit13399e172b47ea2dabfb9d8a5ab4bf79ffbb8b05 (patch)
tree67162cc9ea48c1ef02c782d773176c49424f4743 /usr
parentd7bccf3ce91443c165e5348b9ab522fa3c177a1f (diff)
downloadpfsense-13399e172b47ea2dabfb9d8a5ab4bf79ffbb8b05.zip
pfsense-13399e172b47ea2dabfb9d8a5ab4bf79ffbb8b05.tar.gz
Properly add dns and wins fields, load them on page load.
Diffstat (limited to 'usr')
-rw-r--r--usr/local/www/services_dhcpv6.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr/local/www/services_dhcpv6.php b/usr/local/www/services_dhcpv6.php
index 0966cfe..ee03adb 100644
--- a/usr/local/www/services_dhcpv6.php
+++ b/usr/local/www/services_dhcpv6.php
@@ -144,6 +144,8 @@ if (is_array($config['dhcpdv6'][$if])){
$pconfig['gateway'] = $config['dhcpdv6'][$if]['gateway'];
$pconfig['domain'] = $config['dhcpdv6'][$if]['domain'];
$pconfig['domainsearchlist'] = $config['dhcpdv6'][$if]['domainsearchlist'];
+ list($pconfig['wins1'],$pconfig['wins2']) = $config['dhcpdv6'][$if]['winsserver'];
+ list($pconfig['dns1'],$pconfig['dns2']) = $config['dhcpdv6'][$if]['dnsserver'];
$pconfig['enable'] = isset($config['dhcpdv6'][$if]['enable']);
$pconfig['denyunknown'] = isset($config['dhcpdv6'][$if]['denyunknown']);
$pconfig['staticarp'] = isset($config['dhcpdv6'][$if]['staticarp']);
OpenPOWER on IntegriCloud