firewall: only ever store nobind for ipalias/carp; closes #5585

This commit is contained in:
Franco Fichtner 2022-02-21 12:20:19 +01:00
parent 5bb73b120b
commit f64dfb8976

View File

@ -192,7 +192,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') {
// noexpand, only used for proxyarp
$vipent['noexpand'] = true;
}
if (empty($pconfig['bind'])) {
if (empty($pconfig['bind']) && ($pconfig['mode'] == 'ipalias' || $pconfig['mode'] == 'carp')) {
// nobind, only used for ipalias/carp
$vipent['nobind'] = true;
}