aboutsummaryrefslogtreecommitdiffstats
path: root/config/unbound/unbound_acls.php
diff options
context:
space:
mode:
Diffstat (limited to 'config/unbound/unbound_acls.php')
-rw-r--r--config/unbound/unbound_acls.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/config/unbound/unbound_acls.php b/config/unbound/unbound_acls.php
index 721d3adb..59738aab 100644
--- a/config/unbound/unbound_acls.php
+++ b/config/unbound/unbound_acls.php
@@ -139,7 +139,8 @@ include("head.inc");
<script type="text/javascript">
function mask_field(fieldname, fieldsize, n) {
return '<select name="' + fieldname + n + '" class="formselect" id="' + fieldname + n + '"><?php
- for ($i = 128; $i >= 0; $i--) {
+ $start = 24; if (function_exists("is_ipaddrv6")) $start = "128";
+ for ($i = $start; $i >= 0; $i--) {
echo "<option value=\"$i\">$i</option>";
}
?></select>';