diff options
author | Warren Baker <warren@decoy.co.za> | 2013-05-14 14:49:07 +0200 |
---|---|---|
committer | Warren Baker <warren@decoy.co.za> | 2013-05-14 14:49:07 +0200 |
commit | 0959391054538195eaf97ecdeb48b8e4d0210686 (patch) | |
tree | 202fcc682c01dc67460fafdd44df7772e7d9161e /config/unbound | |
parent | 4671a689a36cad89f27d2ee5056127861aa0ed04 (diff) | |
download | pfsense-packages-0959391054538195eaf97ecdeb48b8e4d0210686.tar.gz pfsense-packages-0959391054538195eaf97ecdeb48b8e4d0210686.tar.bz2 pfsense-packages-0959391054538195eaf97ecdeb48b8e4d0210686.zip |
Allow Unbound to listen on virtual interfaces and bump minor version
Diffstat (limited to 'config/unbound')
-rw-r--r-- | config/unbound/unbound.inc | 3 |
1 files changed, 0 insertions, 3 deletions
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"; |