summaryrefslogtreecommitdiffstats
path: root/usr/local/www/interfaces_qinq_edit.php
diff options
context:
space:
mode:
authorErmal Luçi <eri@pfsense.org>2009-03-29 21:22:23 +0000
committerErmal Luçi <eri@pfsense.org>2009-03-29 21:22:23 +0000
commita80281c644a0880c39da4ff9544eac09a514d369 (patch)
tree299810019865cc34c284bb07ee29df2a4342b221 /usr/local/www/interfaces_qinq_edit.php
parent4b653c44dd0044ec57587e05782932ba23ab39c6 (diff)
downloadpfsense-a80281c644a0880c39da4ff9544eac09a514d369.zip
pfsense-a80281c644a0880c39da4ff9544eac09a514d369.tar.gz
Clarify that ranges can be specified and add a fix to not leave the upper limit of the range unused as a tag.
Diffstat (limited to 'usr/local/www/interfaces_qinq_edit.php')
-rwxr-xr-xusr/local/www/interfaces_qinq_edit.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/usr/local/www/interfaces_qinq_edit.php b/usr/local/www/interfaces_qinq_edit.php
index c6c0e76..6829d9a 100755
--- a/usr/local/www/interfaces_qinq_edit.php
+++ b/usr/local/www/interfaces_qinq_edit.php
@@ -119,7 +119,7 @@ if ($_POST) {
preg_match("/([^0-9])+/", $member[1], $match))
$input_errors[] = "Tags can contain only numbers or a range in format #-#.";
- for ($i = $member[0]; $i < $member[1]; $i++) {
+ for ($i = $member[0]; $i <= $member[1]; $i++) {
if ($isfirst > 0)
$members .= " ";
$members .= $i;
@@ -341,6 +341,10 @@ function removeRow(el) {
<tr>
<td width="22%" valign="top" class="vncellreq"><div id="membersnetworkport">Member (s)</div></td>
<td width="78%" class="vtable">
+ <span vlass="vexpl">
+ You can specify ranges in the input below. The format is pretty simple i.e 9-100 or 10.20...
+ </span>
+ <br/>
<table id="maintable">
<tbody>
<tr>
OpenPOWER on IntegriCloud