summaryrefslogtreecommitdiffstats
path: root/usr/local/www/interfaces_gre_edit.php
diff options
context:
space:
mode:
authorsmos <seth.mos@dds.nl>2012-01-15 14:37:27 +0100
committersmos <seth.mos@dds.nl>2012-01-15 14:38:23 +0100
commit2d107ad5a9aa33d9ab5b35c90d57aa1fe11a83c8 (patch)
tree85be46b913f40df60ec7276ef0e0f624cc3a02ee /usr/local/www/interfaces_gre_edit.php
parentd6159f76fb1381f6ea545806a230d7d41e4e4fbc (diff)
downloadpfsense-2d107ad5a9aa33d9ab5b35c90d57aa1fe11a83c8.zip
pfsense-2d107ad5a9aa33d9ab5b35c90d57aa1fe11a83c8.tar.gz
Remove 32 bit subnetmask limitation for IPv6
Diffstat (limited to 'usr/local/www/interfaces_gre_edit.php')
-rw-r--r--usr/local/www/interfaces_gre_edit.php13
1 files changed, 6 insertions, 7 deletions
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>
OpenPOWER on IntegriCloud