mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-13 08:09:41 +00:00
unbound: exclude OpenVPN from IP registration for #2828
This commit is contained in:
parent
72a9bb8e7b
commit
333dc0fce8
@ -539,7 +539,7 @@ function unbound_add_host_entries()
|
||||
}
|
||||
|
||||
foreach ($interfaces as $interface) {
|
||||
if ($interface == 'lo0') {
|
||||
if ($interface == 'lo0' || substr($interface, 0, 4) == 'ovpn') {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user