summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2015-06-26 09:44:34 -0400
committerjim-p <jimp@pfsense.org>2015-06-26 09:45:12 -0400
commita2cbbb74752a0c3a0ffe1acff22967a7e6cf35ce (patch)
treee2dc604aa8b35e979b37535e1c1b90bbf64d1eed /etc
parent608f68288175ba877cbb05db361af231c89207a8 (diff)
downloadpfsense-a2cbbb74752a0c3a0ffe1acff22967a7e6cf35ce.zip
pfsense-a2cbbb74752a0c3a0ffe1acff22967a7e6cf35ce.tar.gz
Use interface-automatic for Unbound when the interfaces list is empty (same as All) otherwise it breaks with a default CARP config.
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/unbound.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/inc/unbound.inc b/etc/inc/unbound.inc
index 9141e3f..dcf2e01 100644
--- a/etc/inc/unbound.inc
+++ b/etc/inc/unbound.inc
@@ -160,6 +160,8 @@ EOF;
} else {
$bindints .= "interface: 0.0.0.0\n";
$bindints .= "interface: ::0\n";
+ /* If the active interface array is empty, treat it the same as "All" as is done above. Otherwise it breaks CARP with a default config. */
+ $bindints .= "interface-automatic: yes\n";
}
// Determine interfaces to run on
OpenPOWER on IntegriCloud