Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...
|
[SSI] openssi/openssi-tools/sysadmin Clustertab.pm,1.28.2.2,1.28.2.3: msg#00085
|
Subject: |
[SSI] openssi/openssi-tools/sysadmin Clustertab.pm,1.28.2.2,1.28.2.3 |
Update of /cvsroot/ssic-linux/openssi/openssi-tools/sysadmin
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29531
Modified Files:
Tag: OPENSSI-RH-1-0-STABLE
Clustertab.pm
Log Message:
Enforce that nodenames and clusternames meet the hostname requirements
specified in RFC 952.
Index: Clustertab.pm
===================================================================
RCS file: /cvsroot/ssic-linux/openssi/openssi-tools/sysadmin/Clustertab.pm,v
retrieving revision 1.28.2.2
retrieving revision 1.28.2.3
diff -u -d -r1.28.2.2 -r1.28.2.3
--- Clustertab.pm 21 May 2004 01:07:32 -0000 1.28.2.2
+++ Clustertab.pm 16 Jul 2004 20:32:35 -0000 1.28.2.3
@@ -156,7 +156,8 @@
sub validate_name {
my $value = shift;
return 0 unless defined $value;
- return 0 unless $value =~ /^[\w-]+$/;
+ return 0 unless $value =~
+ /^[[:alpha:]]([-[:alnum:]]{0,22}[[:alnum:]])?$/;
# SSI_XXX: is the name clusterwide unique?
# SSI_XXX: does the name match a local interface? (or CVIP for
clustername)
return 1;
-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
|
| |