summaryrefslogtreecommitdiffstats
path: root/usr/local/www/firewall_nat_out_edit.php
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2010-12-20 15:01:51 -0500
committerjim-p <jimp@pfsense.org>2010-12-20 15:01:51 -0500
commite2c1d6c5cf3fda8b9fb370cdb50d4a3578c8efa6 (patch)
tree96b68c4b0719ff4a80c8f85362968a9e4ee01db3 /usr/local/www/firewall_nat_out_edit.php
parent49659e1cc6f78af1287590fca7b64791fd6da6f1 (diff)
downloadpfsense-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-xusr/local/www/firewall_nat_out_edit.php2
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']));
OpenPOWER on IntegriCloud