mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-17 10:04:41 +00:00
src: style sweep
This commit is contained in:
parent
8213afd810
commit
c9423dbf5f
@ -42,7 +42,7 @@ function dhcrelay_run()
|
||||
];
|
||||
}
|
||||
|
||||
function dhcrelay_syslog()
|
||||
function dhcrelay_syslog()
|
||||
{
|
||||
return [
|
||||
'dhcrelay' => ['facility' => ['dhcrelay']]
|
||||
|
||||
@ -141,7 +141,8 @@ class IPPortField extends BaseField
|
||||
continue;
|
||||
}
|
||||
}
|
||||
if ($this->internalHostnameAllowed &&
|
||||
if (
|
||||
$this->internalHostnameAllowed &&
|
||||
count($parts) == 2 &&
|
||||
Util::isPort($parts[1]) &&
|
||||
filter_var($parts[0], FILTER_VALIDATE_DOMAIN, FILTER_FLAG_HOSTNAME) !== false
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user