mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
fix display of PARP VIP ranges. Resolves #386
This commit is contained in:
parent
8788e89933
commit
77eddca8ae
@ -627,11 +627,11 @@ include("fbegin.inc"); ?>
|
||||
if ($sn['mode'] == "proxyarp" && $sn['type'] == "network"):
|
||||
$baseip = ip2long($sn['subnet']) & ip2long(gen_subnet_mask($sn['subnet_bits']));
|
||||
|
||||
for ($i = $sn['subnet_bits']; $i <= 32; $i++):
|
||||
$baseip = $baseip + 1;
|
||||
for ($i = $sn['subnet_bits'] - 1; $i <= 32; $i++):
|
||||
$snip = long2ip($baseip);
|
||||
?>
|
||||
<option value="<?=$snip;?>" <?php if ($snip == $pconfig['dst']) echo "selected"; ?>><?=htmlspecialchars("{$snip} ({$sn['descr']})");?></option>
|
||||
<?php $baseip = $baseip + 1; ?>
|
||||
<?php endfor;
|
||||
else:
|
||||
?>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user