Use interface-automatic for Unbound when the interfaces list is empty (same as All) otherwise it breaks with a default CARP config.

This commit is contained in:
jim-p 2015-06-26 09:44:34 -04:00
parent 763afdaf7b
commit 342f509028

View File

@ -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