unbound: exclude OpenVPN from IP registration for #2828

This commit is contained in:
Franco Fichtner 2018-12-28 17:29:06 +01:00
parent 72a9bb8e7b
commit 333dc0fce8

View File

@ -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;
}