diff options
author | jim-p <jimp@pfsense.org> | 2010-12-20 15:01:51 -0500 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2010-12-20 15:01:51 -0500 |
commit | e2c1d6c5cf3fda8b9fb370cdb50d4a3578c8efa6 (patch) | |
tree | 96b68c4b0719ff4a80c8f85362968a9e4ee01db3 /usr/local/www/firewall_nat_edit.php | |
parent | 49659e1cc6f78af1287590fca7b64791fd6da6f1 (diff) | |
download | pfsense-e2c1d6c5cf3fda8b9fb370cdb50d4a3578c8efa6.zip pfsense-e2c1d6c5cf3fda8b9fb370cdb50d4a3578c8efa6.tar.gz |
Add a per-entry option for Proxy ARP VIPs of the Network type to disable their expansion on Port Forwards and Outbound NAT screens. Will allow users with large proxy arp subnets used only with 1:1 to still load those pages in a reasonable time. Resolves #1119
Diffstat (limited to 'usr/local/www/firewall_nat_edit.php')
-rwxr-xr-x | usr/local/www/firewall_nat_edit.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/usr/local/www/firewall_nat_edit.php b/usr/local/www/firewall_nat_edit.php index d216a98..125a34f 100755 --- a/usr/local/www/firewall_nat_edit.php +++ b/usr/local/www/firewall_nat_edit.php @@ -646,6 +646,8 @@ include("fbegin.inc"); ?> <?php if (is_array($config['virtualip']['vip'])): foreach ($config['virtualip']['vip'] as $sn): + if (isset($sn['noexpand'])) + continue; if ($sn['mode'] == "proxyarp" && $sn['type'] == "network"): $start = ip2long32(gen_subnet($sn['subnet'], $sn['subnet_bits'])); $end = ip2long32(gen_subnet_max($sn['subnet'], $sn['subnet_bits'])); |