From 4addfd23c77c1dbbd3efc7539967bda34ffce05d Mon Sep 17 00:00:00 2001 From: Ad Schellevis Date: Tue, 24 May 2016 10:53:28 +0200 Subject: [PATCH] (dhcpv6) don't override values the user just put in. --- src/www/services_dhcpv6.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/www/services_dhcpv6.php b/src/www/services_dhcpv6.php index b7d31ed9f..928c2393a 100644 --- a/src/www/services_dhcpv6.php +++ b/src/www/services_dhcpv6.php @@ -309,7 +309,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') { } // router advertisement data lives in the same spot, copy foreach (array_keys($config['dhcpdv6'][$if]) as $fieldname) { - if (substr($fieldname,0 ,2) == 'ra') { + if (substr($fieldname,0 ,2) == 'ra' && !in_array($fieldname, array_keys($dhcpdconf))) { $dhcpdconf[$fieldname] = $config['dhcpdv6'][$if][$fieldname]; } }