summaryrefslogtreecommitdiffstats
path: root/usr/local/www/firewall_nat_out_edit.php
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2010-04-14 14:37:36 +0000
committerErmal <eri@pfsense.org>2010-04-14 14:37:36 +0000
commit9a38338ca5528a1f7f19e439a7809b89e96aa748 (patch)
tree1e10cea67308645463bd061b5ca91fc558790815 /usr/local/www/firewall_nat_out_edit.php
parent45a9975025626eaff27b60d5c81cf58bce4beceb (diff)
downloadpfsense-9a38338ca5528a1f7f19e439a7809b89e96aa748.zip
pfsense-9a38338ca5528a1f7f19e439a7809b89e96aa748.tar.gz
Ticket #386. Add even the network address to the list of addresses on proxy arp vips to the naat out edit.
Diffstat (limited to 'usr/local/www/firewall_nat_out_edit.php')
-rwxr-xr-xusr/local/www/firewall_nat_out_edit.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/usr/local/www/firewall_nat_out_edit.php b/usr/local/www/firewall_nat_out_edit.php
index 56918b0..45db4ba 100755
--- a/usr/local/www/firewall_nat_out_edit.php
+++ b/usr/local/www/firewall_nat_out_edit.php
@@ -434,6 +434,10 @@ any)</td>
foreach ($config['virtualip']['vip'] as $sn):
if ($sn['mode'] == "proxyarp" && $sn['type'] == "network"):
$baseip = ip2long($sn['subnet']) & ip2long(gen_subnet_mask($sn['subnet_bits']));
+ $snip = long2ip($baseip);
+?>
+ <option value="<?=$snip;?>" <?php if ($snip == $pconfig['target']) echo "selected"; ?>><?=htmlspecialchars("{$snip} ({$sn['descr']})");?></option>
+<?php
for ($i = $sn['subnet_bits']; $i <= 32; $i++):
$baseip = $baseip + 1;
$snip = long2ip($baseip);
OpenPOWER on IntegriCloud