From 657be3ce6ac66f893e5fc99c4b1d7ede6a117121 Mon Sep 17 00:00:00 2001 From: Ad Schellevis Date: Sat, 25 Feb 2023 17:03:50 +0100 Subject: [PATCH] Firewall: NAT: Outbound - dropdown ignoring vip's. closes https://github.com/opnsense/core/issues/6270 --- src/www/firewall_nat_out_edit.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/www/firewall_nat_out_edit.php b/src/www/firewall_nat_out_edit.php index 933742106..882874119 100644 --- a/src/www/firewall_nat_out_edit.php +++ b/src/www/firewall_nat_out_edit.php @@ -46,7 +46,7 @@ function formTranslateAddresses() { // add VIPs's if (isset($config['virtualip']['vip'])) { foreach ($config['virtualip']['vip'] as $sn) { - if (!isset($sn['noexpand'])) { + if (empty($sn['noexpand'])) { if ($sn['mode'] == "proxyarp") { $start = ip2long32(gen_subnet($sn['subnet'], $sn['subnet_bits'])); $end = ip2long32(gen_subnet_max($sn['subnet'], $sn['subnet_bits']));