mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-16 09:34:39 +00:00
unbound: small whitespace tweak
This commit is contained in:
parent
afcae6226a
commit
b3c414d58e
@ -601,10 +601,7 @@ function unbound_add_host_entries()
|
||||
unset($tmp_known_domains); // remove temporary variable
|
||||
}
|
||||
|
||||
/* Static Host entries */
|
||||
|
||||
if (isset($config['unbound']['hosts'])) {
|
||||
|
||||
foreach ($config['unbound']['hosts'] as $host) {
|
||||
if ($host['host'] != '') {
|
||||
$host['host'] = $host['host'].".";
|
||||
@ -638,8 +635,6 @@ function unbound_add_host_entries()
|
||||
}
|
||||
}
|
||||
|
||||
/* Static DHCP entries */
|
||||
|
||||
if (isset($config['unbound']['regdhcpstatic']) && is_array($config['dhcpd'])) {
|
||||
foreach ($config['dhcpd'] as $dhcpif => $dhcpifconf) {
|
||||
if (isset($dhcpifconf['staticmap']) && isset($dhcpifconf['enable'])) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user