From 0959391054538195eaf97ecdeb48b8e4d0210686 Mon Sep 17 00:00:00 2001 From: Warren Baker Date: Tue, 14 May 2013 14:49:07 +0200 Subject: Allow Unbound to listen on virtual interfaces and bump minor version --- config/unbound/unbound.inc | 3 --- 1 file changed, 3 deletions(-) (limited to 'config') diff --git a/config/unbound/unbound.inc b/config/unbound/unbound.inc index c5cbfc49..2dd33bcd 100644 --- a/config/unbound/unbound.inc +++ b/config/unbound/unbound.inc @@ -410,9 +410,6 @@ function unbound_resync_config() { $unboundnetcfg = unbound_get_network_interface_addresses(); foreach($unboundnetcfg as $netent) { foreach($netent as $entry) { - # If virtual interface then skip - if (!$entry['network'] && !$entry['subnet'] && ($entry['ipaddr'] != "127.0.0.1" && $entry['ipaddr'] != "::1")) - continue; $unbound_bind_interfaces .="interface: {$entry['ipaddr']}\n"; if($entry['ipaddr'] != "127.0.0.1" && $entry['ipaddr'] != "::1") $unbound_allowed_networks .= "access-control: {$entry['network']}/{$entry['subnet']} allow\n"; -- cgit v1.2.3