summaryrefslogtreecommitdiffstats
path: root/etc/inc/unbound.inc
diff options
context:
space:
mode:
authorJean Cyr <jcyr@dillobits.com>2014-12-04 13:07:22 -0500
committerJean Cyr <jcyr@dillobits.com>2014-12-04 13:07:22 -0500
commitad62d077a3933989a0ea2f99fee23051d63be3f0 (patch)
tree805f960153de08fc650dfe7d293d81d37980d3a9 /etc/inc/unbound.inc
parent9fc7e40dbefb146efe03458c1d8cbdb91b136441 (diff)
downloadpfsense-ad62d077a3933989a0ea2f99fee23051d63be3f0.zip
pfsense-ad62d077a3933989a0ea2f99fee23051d63be3f0.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