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_out_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_out_edit.php')
-rwxr-xr-x | usr/local/www/firewall_nat_out_edit.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/usr/local/www/firewall_nat_out_edit.php b/usr/local/www/firewall_nat_out_edit.php index 2910c08..e00994b 100755 --- a/usr/local/www/firewall_nat_out_edit.php +++ b/usr/local/www/firewall_nat_out_edit.php @@ -471,6 +471,8 @@ any)");?></td> <option value=""<?php if (!$pconfig['target']) echo " selected"; ?>><?=gettext("Interface address");?></option> <?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'])); |