summaryrefslogtreecommitdiff
path: root/lib/sbin/CSTUtils.pl
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sbin/CSTUtils.pl')
-rw-r--r--lib/sbin/CSTUtils.pl6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/sbin/CSTUtils.pl b/lib/sbin/CSTUtils.pl
index c7b899dd..7815e4d4 100644
--- a/lib/sbin/CSTUtils.pl
+++ b/lib/sbin/CSTUtils.pl
@@ -248,6 +248,12 @@ sub TestName
$valid = 0;
}
+ if ($thorn && length($name)>27)
+ {
+ print STDERR "Thorn names must be 27 characters or less!\n\n";
+ $valid = 0;
+ }
+
if ($thorn && $name eq "doc")
{
print STDERR "Thorn name doc is not allowed!\n\n";