mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-15 09:04:39 +00:00
(dhcpv6) don't override values the user just put in.
This commit is contained in:
parent
5cb39a7077
commit
4addfd23c7
@ -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];
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user