summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2011-03-08 17:35:05 -0800
committerStephen Hemminger <stephen.hemminger@vyatta.com>2011-03-08 17:35:05 -0800
commit3eefee211de792bd5a6012059803a755c5ebf943 (patch)
treea1fcf0b92e9107b9e2b9601801ad8c6f04e3a77b
parent6a2882a7a35fa2fe2e655fbe737d4067350045c1 (diff)
downloadvyatta-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.
-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 =~ /(^-)|(-$)/;