Commit 34cfcc2d authored by Chad Barb's avatar Chad Barb

Fixed minor renderer bug for nodes with more than 9 (!) interfaces.
(was looking for '\d', should have been looking for '\d+'.)
parent 7052d029
......@@ -93,8 +93,8 @@ while (my ($name, $vis_type, $vis_x, $vis_y, $ips, $virt_type) = $result->fetchr
dprint "NODE $name $vis_type $vis_x $vis_y\n";
if (defined $ips) {
$ips =~ s/^\d\://g;
$ips =~ s/\s\d\:/ /g;
$ips =~ s/^\d+\://g;
$ips =~ s/\s\d+\:/ /g;
$ips =~ s/^192\.168//g;
$ips =~ s/\s192\.168/ /g;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment