From 3eefee211de792bd5a6012059803a755c5ebf943 Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Tue, 8 Mar 2011 17:35:05 -0800 Subject: Fix typo in domain name regex meant to allow any upper (or lower case) in domain name. --- scripts/system/vyatta_check_domainname.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/system') 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 =~ /(^-)|(-$)/; -- cgit v1.2.3