/* LDH rule (letters, digits, hyphen) */
int len = strlen(nodename);
+
+ if (len < 1) {
+ return FALSE;
+ }
+
for (int i = 0; i < len; i ++) {
char c = nodename[i];
if ((c >= 'A' && c <= 'Z') ||
(c >= 'a' && c <= 'z') ||
- (i != 0 && c >= '0' && c <= '9') ||
+ (c >= '0' && c <= '9') ||
(i != 0 && i != (len-1) && c == '-'))
continue;
return FALSE;
+pve-cluster (1.0-27) unstable; urgency=low
+
+ * fix bug #199: allow node names to start with numbers
+
+ -- Proxmox Support Team <support@proxmox.com> Tue, 22 May 2012 11:53:02 +0200
+
pve-cluster (1.0-26) unstable; urgency=low
* new rrd format for node data (skip 2 entries).