summaryrefslogtreecommitdiffstats
path: root/usr/local/www/interfaces_gre_edit.php
diff options
context:
space:
mode:
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