Handle IP addresses as machine names

This commit is contained in:
Eelco Dolstra 2015-07-21 01:40:41 +02:00
parent fbd48f5684
commit 62b1b095ad

View file

@ -644,7 +644,7 @@ BLOCK createChart %]
BLOCK renderMachineName;
machine ? stripSSHUser(machine).match('^([^\.]*)').0 : "localhost";
machine ? stripSSHUser(machine).match('^(([^\.]|\.[0-9])*)').0 : "localhost";
END;