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:19 -0400 |
commit | 342f509028bc675c81172fb89275fd60ec761399 (patch) | |
tree | ca45c569ea765bf02d14dccfc80cf8635043cdc0 | |
parent | 763afdaf7b4b673ed68b62a976f459f4969e665b (diff) | |
download | pfsense-342f509028bc675c81172fb89275fd60ec761399.zip pfsense-342f509028bc675c81172fb89275fd60ec761399.tar.gz |
Use interface-automatic for Unbound when the interfaces list is empty (same as All) otherwise it breaks with a default CARP config.
-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 1d61d77..aaaeed8 100644 --- a/etc/inc/unbound.inc +++ b/etc/inc/unbound.inc @@ -155,6 +155,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 |