diff options
author | Chris Buechler <cmb@pfsense.org> | 2015-11-21 00:31:56 -0600 |
---|---|---|
committer | Chris Buechler <cmb@pfsense.org> | 2015-11-21 00:31:56 -0600 |
commit | 01eacb560c411af72004a8cd0bb044a0459def2a (patch) | |
tree | 8a768fbf4f26ef93454ee2d4b56c2cb67fdc5d97 /src | |
parent | 133684ab5af5fdc6ec98cc7241123ff59371777c (diff) | |
download | pfsense-01eacb560c411af72004a8cd0bb044a0459def2a.zip pfsense-01eacb560c411af72004a8cd0bb044a0459def2a.tar.gz |
Bind to IP aliases correctly in Unbound. Ticket #5464
Diffstat (limited to 'src')
-rw-r--r-- | src/etc/inc/unbound.inc | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/etc/inc/unbound.inc b/src/etc/inc/unbound.inc index 4b2a6d8..316a32f 100644 --- a/src/etc/inc/unbound.inc +++ b/src/etc/inc/unbound.inc @@ -180,7 +180,12 @@ EOF; } else { foreach ($active_interfaces as $ubif) { if (is_ipaddr($ubif)) { - //$bindints .= "interface: $ubif\n"; -- until redmine #4062 is fixed, then uncomment this. + if (is_linklocal($ubif)) { + // until redmine #4062 is fixed, then remove this + continue; + } else { + $bindints .= "interface: $ubif\n"; + } } else { $intip = get_interface_ip($ubif); if (is_ipaddrv4($intip)) { |