diff options
author | jim-p <jimp@pfsense.org> | 2015-06-26 09:44:34 -0400 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2015-06-26 09:45:12 -0400 |
commit | a2cbbb74752a0c3a0ffe1acff22967a7e6cf35ce (patch) | |
tree | e2dc604aa8b35e979b37535e1c1b90bbf64d1eed /etc | |
parent | 608f68288175ba877cbb05db361af231c89207a8 (diff) | |
download | pfsense-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.inc | 2 |
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 |