summaryrefslogtreecommitdiffstats
path: root/usr/local/www/services_dhcpv6_relay.php
diff options
context:
space:
mode:
authorMichael Tharp <gxti@partiallystapled.com>2012-07-30 17:45:13 -0400
committerMichael Tharp <gxti@partiallystapled.com>2012-07-30 17:45:13 -0400
commit73c897eb1441fd64777826b56aab66acb4df8d52 (patch)
tree2844a4f049be331ea91c76a6c1687d038eed0314 /usr/local/www/services_dhcpv6_relay.php
parent69dd70883ed300cd169efe04a7ef6797b2eeb30b (diff)
downloadpfsense-73c897eb1441fd64777826b56aab66acb4df8d52.zip
pfsense-73c897eb1441fd64777826b56aab66acb4df8d52.tar.gz
Fix dhcpv6_relay writing to the dhcpv4 configuration
Implements ticket #1663
Diffstat (limited to 'usr/local/www/services_dhcpv6_relay.php')
-rw-r--r--usr/local/www/services_dhcpv6_relay.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr/local/www/services_dhcpv6_relay.php b/usr/local/www/services_dhcpv6_relay.php
index 753ff96..5e9dab3 100644
--- a/usr/local/www/services_dhcpv6_relay.php
+++ b/usr/local/www/services_dhcpv6_relay.php
@@ -84,10 +84,10 @@ if ($_POST) {
}
if (!$input_errors) {
- $config['dhcrelay']['enable'] = $_POST['enable'] ? true : false;
- $config['dhcrelay']['interface'] = implode(",", $_POST['interface']);
- $config['dhcrelay']['agentoption'] = $_POST['agentoption'] ? true : false;
- $config['dhcrelay']['server'] = $_POST['server'];
+ $config['dhcrelay6']['enable'] = $_POST['enable'] ? true : false;
+ $config['dhcrelay6']['interface'] = implode(",", $_POST['interface']);
+ $config['dhcrelay6']['agentoption'] = $_POST['agentoption'] ? true : false;
+ $config['dhcrelay6']['server'] = $_POST['server'];
write_config();
OpenPOWER on IntegriCloud