summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErmal Luçi <eri@pfsense.org>2008-04-21 22:54:10 +0000
committerErmal Luçi <eri@pfsense.org>2008-04-21 22:54:10 +0000
commite2e544005bfc0def1dd13690a9b4e3554ddc1e21 (patch)
treecfff162a9fe854853a09469b6bcba19336233f4b
parent8774ca6ef4e1990a0fdcb70e243b955924ab39ff (diff)
downloadpfsense-e2e544005bfc0def1dd13690a9b4e3554ddc1e21.zip
pfsense-e2e544005bfc0def1dd13690a9b4e3554ddc1e21.tar.gz
Set limit of queue name to 15 chars.
-rw-r--r--etc/inc/shaper.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/shaper.inc b/etc/inc/shaper.inc
index 1c4e302..e6cf434 100644
--- a/etc/inc/shaper.inc
+++ b/etc/inc/shaper.inc
@@ -994,7 +994,7 @@ function GetEcn() {
$form .= "<tr>";
$form .= "<td width=\"22%\" valign=\"top\" class=\"vncellreq\">";
$form .= "Queue Name</td><td width=\"78%\" class=\"vtable\">";
- $form .= "<input name=\"name\" type=\"text\" id=\"name\" class=\"formfld unknown\" size=\"15\" value=\"";
+ $form .= "<input name=\"name\" type=\"text\" id=\"name\" class=\"formfld unknown\" size=\"15\" maxlength=\"15\" value=\"";
$form .= htmlspecialchars($this->GetQname());
$form .= "\">";
$form .= "<br> <span class=\"vexpl\">Enter the name of the queue here. Do not use spaces and limit the size to 15 characters.";
OpenPOWER on IntegriCloud