summaryrefslogtreecommitdiffstats
path: root/etc/inc/unbound.inc
diff options
context:
space:
mode:
authorJean Cyr <jcyr@dillobits.com>2014-12-04 13:07:22 -0500
committerChris Buechler <cmb@pfsense.org>2014-12-04 20:58:32 -0600
commit32a815611645f698ab8c35d7435e9041cb60960f (patch)
tree251312502a7ebc245b33ed0e0529dbc77ddaecf1 /etc/inc/unbound.inc
parent0af2fab6b982596e883ebe497b326d986158662e (diff)
downloadpfsense-32a815611645f698ab8c35d7435e9041cb60960f.zip
pfsense-32a815611645f698ab8c35d7435e9041cb60960f.tar.gz
Don't include link-locals as unbound interface candidates
Unbound does not presently support link-local interfaces.
Diffstat (limited to 'etc/inc/unbound.inc')
-rw-r--r--etc/inc/unbound.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/unbound.inc b/etc/inc/unbound.inc
index 3f79b62..b06b3dc 100644
--- a/etc/inc/unbound.inc
+++ b/etc/inc/unbound.inc
@@ -156,7 +156,7 @@ EOF;
$bindints .= "interface: $intip\n";
$intip = get_interface_ipv6($ubif);
if (is_ipaddrv6($intip))
- if (substr($intip, 0, 4) != "fe80") // skipping link local for the moment to not break people's configs: https://redmine.pfsense.org/issues/4062
+ if (!is_linklocal($intip)) // skipping link local for the moment to not break people's configs: https://redmine.pfsense.org/issues/4062
$bindints .= "interface: $intip\n";
}
}
OpenPOWER on IntegriCloud