diff options
author | smos <seth.mos@dds.nl> | 2012-01-15 14:37:27 +0100 |
---|---|---|
committer | smos <seth.mos@dds.nl> | 2012-01-15 14:38:23 +0100 |
commit | 2d107ad5a9aa33d9ab5b35c90d57aa1fe11a83c8 (patch) | |
tree | 85be46b913f40df60ec7276ef0e0f624cc3a02ee | |
parent | d6159f76fb1381f6ea545806a230d7d41e4e4fbc (diff) | |
download | pfsense-2d107ad5a9aa33d9ab5b35c90d57aa1fe11a83c8.zip pfsense-2d107ad5a9aa33d9ab5b35c90d57aa1fe11a83c8.tar.gz |
Remove 32 bit subnetmask limitation for IPv6
-rw-r--r-- | usr/local/www/interfaces_gif_edit.php | 11 | ||||
-rw-r--r-- | usr/local/www/interfaces_gre_edit.php | 13 |
2 files changed, 11 insertions, 13 deletions
diff --git a/usr/local/www/interfaces_gif_edit.php b/usr/local/www/interfaces_gif_edit.php index 04d22bc..6510051 100644 --- a/usr/local/www/interfaces_gif_edit.php +++ b/usr/local/www/interfaces_gif_edit.php @@ -176,14 +176,13 @@ include("head.inc"); <select name="tunnel-remote-net" class="formselect" id="tunnel-remote-net"> <?php for ($i = 128; $i > 0; $i--) { - if($i <> 31) { - echo "<option value=\"{$i}\" "; - if ($i == $pconfig['tunnel-remote-net']) echo "selected"; - echo ">" . $i . "</option>"; - } + echo "<option value=\"{$i}\" "; + if ($i == $pconfig['tunnel-remote-net']) + echo "selected"; + echo ">" . $i . "</option>"; } ?> - </select> + </select> <br/> <span class="vexpl"><?=gettext("Remote gif address endpoint. The subnet part is used for determining the network that is tunnelled."); ?></span></td> </tr> diff --git a/usr/local/www/interfaces_gre_edit.php b/usr/local/www/interfaces_gre_edit.php index 08cd350..20e157a 100644 --- a/usr/local/www/interfaces_gre_edit.php +++ b/usr/local/www/interfaces_gre_edit.php @@ -177,15 +177,14 @@ include("head.inc"); <input name="tunnel-remote-addr" type="text" class="formfld unknown" id="tunnel-remote-addr" size="16" value="<?=htmlspecialchars($pconfig['tunnel-remote-addr']);?>"> <select name="tunnel-remote-net" class="formselect" id="tunnel-remote-net"> <?php - for ($i = 32; $i > 0; $i--) { - if($i <> 31) { - echo "<option value=\"{$i}\" "; - if ($i == $pconfig['tunnel-remote-net']) echo "selected"; - echo ">" . $i . "</option>"; - } + for ($i = 128; $i > 0; $i--) { + echo "<option value=\"{$i}\" "; + if ($i == $pconfig['tunnel-remote-net']) + echo "selected"; + echo ">" . $i . "</option>"; } ?> - </select> + </select> <br/> <span class="vexpl"><?=gettext("Remote GRE address endpoint. The subnet part is used for the determining the network that is tunneled.");?></span></td> </tr> |