From f64dfb8976ad3a87a6c402571a0810cb12f7a7f7 Mon Sep 17 00:00:00 2001 From: Franco Fichtner Date: Mon, 21 Feb 2022 12:20:19 +0100 Subject: [PATCH] firewall: only ever store nobind for ipalias/carp; closes #5585 --- src/www/firewall_virtual_ip_edit.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/www/firewall_virtual_ip_edit.php b/src/www/firewall_virtual_ip_edit.php index 573116aaa..3275e25ab 100644 --- a/src/www/firewall_virtual_ip_edit.php +++ b/src/www/firewall_virtual_ip_edit.php @@ -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; }