diff options
author | Seth Mos <seth.mos@dds.nl> | 2010-10-25 15:54:46 +0200 |
---|---|---|
committer | Seth Mos <seth.mos@dds.nl> | 2010-10-25 15:54:46 +0200 |
commit | b2c63fa3f2df5fea9ad05710dd8aac577ed5149f (patch) | |
tree | d923527cb4bfdb3f9b8f256ab00c78e35d178546 /usr/local | |
parent | 290797ea64be6e28c97e563dd688e373263f0154 (diff) | |
download | pfsense-b2c63fa3f2df5fea9ad05710dd8aac577ed5149f.zip pfsense-b2c63fa3f2df5fea9ad05710dd8aac577ed5149f.tar.gz |
up the subnet bits from 32 to 128 so that the access can be locked down to the host for ipv6.
This will require a javascript routine that prevents a subnet mask higher then 32 bits for a ipv4 address.
Alternatively the subnet bits should be steered by javascript to prevent use of more then 32 bits on a ipv4 address. When a hostname is used all bets are off, even worse if the hostname is a combined ipv4/ipv6.
Diffstat (limited to 'usr/local')
-rwxr-xr-x | usr/local/www/firewall_aliases_edit.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/firewall_aliases_edit.php b/usr/local/www/firewall_aliases_edit.php index 457198c..8aa43f6 100755 --- a/usr/local/www/firewall_aliases_edit.php +++ b/usr/local/www/firewall_aliases_edit.php @@ -632,7 +632,7 @@ EOD; <td> <select name="address_subnet<?php echo $tracker; ?>" class="formselect" id="address_subnet<?php echo $tracker; ?>"> <option></option> - <?php for ($i = 32; $i >= 1; $i--): ?> + <?php for ($i = 128; $i >= 1; $i--): ?> <option value="<?=$i;?>" <?php if (($i == $address_subnet) || ($i == $pconfig['updatefreq'])) echo "selected"; ?>><?=$i;?></option> <?php endfor; ?> </select> |