diff options
author | Michael Tharp <gxti@partiallystapled.com> | 2012-07-30 17:45:13 -0400 |
---|---|---|
committer | Michael Tharp <gxti@partiallystapled.com> | 2012-07-30 17:45:13 -0400 |
commit | 73c897eb1441fd64777826b56aab66acb4df8d52 (patch) | |
tree | 2844a4f049be331ea91c76a6c1687d038eed0314 /usr/local | |
parent | 69dd70883ed300cd169efe04a7ef6797b2eeb30b (diff) | |
download | pfsense-73c897eb1441fd64777826b56aab66acb4df8d52.zip pfsense-73c897eb1441fd64777826b56aab66acb4df8d52.tar.gz |
Fix dhcpv6_relay writing to the dhcpv4 configuration
Implements ticket #1663
Diffstat (limited to 'usr/local')
-rw-r--r-- | usr/local/www/services_dhcpv6_relay.php | 8 |
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(); |