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 608f682881
commit a2cbbb7475

View File

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