summaryrefslogtreecommitdiff
path: root/scripts/system/vyatta_check_domainname.pl
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/system/vyatta_check_domainname.pl')
-rw-r--r--scripts/system/vyatta_check_domainname.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/system/vyatta_check_domainname.pl b/scripts/system/vyatta_check_domainname.pl
index cb5501fd..a6e0d227 100644
--- a/scripts/system/vyatta_check_domainname.pl
+++ b/scripts/system/vyatta_check_domainname.pl
@@ -60,7 +60,7 @@ foreach my $fqdn (@ARGV) {
foreach my $label (@label) {
die "$label: invalid character in domain name\n"
- unless $label =~ /^[-0-9a-zA-H]+$/;
+ unless $label =~ /^[-0-9a-zA-Z]+$/;
die "$label: label must not start or end with hyphen\n"
if $label =~ /(^-)|(-$)/;