diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2011-03-08 17:35:05 -0800 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2011-03-08 17:35:05 -0800 |
commit | 3eefee211de792bd5a6012059803a755c5ebf943 (patch) | |
tree | a1fcf0b92e9107b9e2b9601801ad8c6f04e3a77b /scripts/system | |
parent | 6a2882a7a35fa2fe2e655fbe737d4067350045c1 (diff) | |
download | vyatta-cfg-quagga-3eefee211de792bd5a6012059803a755c5ebf943.tar.gz vyatta-cfg-quagga-3eefee211de792bd5a6012059803a755c5ebf943.zip |
Fix typo in domain name regex
meant to allow any upper (or lower case) in domain name.
Diffstat (limited to 'scripts/system')
-rw-r--r-- | scripts/system/vyatta_check_domainname.pl | 2 |
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 =~ /(^-)|(-$)/; |