mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-17 01:54:49 +00:00
src: style sweep
This commit is contained in:
parent
b209212fb1
commit
bb40865287
@ -1880,7 +1880,7 @@ function dhcpd_dhcrelay6_configure($verbose = false)
|
||||
}
|
||||
}
|
||||
|
||||
function dhcpd_staticmap($domain_fallback = 'not.found', $ifconfig_details = null, $valid_addresses=true, $proto=null)
|
||||
function dhcpd_staticmap($domain_fallback = 'not.found', $ifconfig_details = null, $valid_addresses = true, $proto = null)
|
||||
{
|
||||
$staticmap = [];
|
||||
foreach (empty($proto) ? [4, 6] : [$proto] as $inet) {
|
||||
|
||||
@ -831,7 +831,7 @@ function system_trust_configure($verbose = false)
|
||||
$certlist = str_replace("\r", '', base64_decode($entry['crt']));
|
||||
$user_cas = [""];
|
||||
foreach (explode("\n", $certlist) as $row) {
|
||||
$user_cas[count($user_cas)-1] .= $row ."\n";
|
||||
$user_cas[count($user_cas) - 1] .= $row . "\n";
|
||||
if (strpos($row, '---END') > 0) {
|
||||
$user_cas[] = "";
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user