summaryrefslogtreecommitdiffstats
path: root/etc/inc/unbound.inc
diff options
context:
space:
mode:
authorJean Cyr <jcyr@dillobits.com>2014-09-24 19:10:21 -0400
committerJean Cyr <jcyr@dillobits.com>2014-09-24 19:10:21 -0400
commit806bf8825c00e86d6eb3bc88bb18775f30f6c5c6 (patch)
treede99c610c5047094d602b1de24a4cda801ddbe26 /etc/inc/unbound.inc
parent90a9593094d0baa2fd40c2edb730f427f436720f (diff)
downloadpfsense-806bf8825c00e86d6eb3bc88bb18775f30f6c5c6.zip
pfsense-806bf8825c00e86d6eb3bc88bb18775f30f6c5c6.tar.gz
outgoing ip incorrectly set in unbound.conf
DNS resolver outgoing IP interface IP address is incorrectly set to the last inbound interface IP address... fix it.
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 f9b3340..21a982a 100644
--- a/etc/inc/unbound.inc
+++ b/etc/inc/unbound.inc
@@ -146,7 +146,7 @@ EOF;
foreach($outgoing_interfaces as $outif) {
$outip = get_interface_ip($outif);
if (!is_null($outip))
- $outgoingints .= "outgoing-interface: $intip\n";
+ $outgoingints .= "outgoing-interface: $outip\n";
}
}
OpenPOWER on IntegriCloud