diff options
author | Jean Cyr <jcyr@dillobits.com> | 2014-12-04 13:07:22 -0500 |
---|---|---|
committer | Chris Buechler <cmb@pfsense.org> | 2014-12-04 20:58:32 -0600 |
commit | 32a815611645f698ab8c35d7435e9041cb60960f (patch) | |
tree | 251312502a7ebc245b33ed0e0529dbc77ddaecf1 /etc | |
parent | 0af2fab6b982596e883ebe497b326d986158662e (diff) | |
download | pfsense-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')
-rw-r--r-- | etc/inc/unbound.inc | 2 |
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"; } } |