mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
flatten map (it was like that for a reason :P) and list all ports deleted when deleting an interface
git-svn-id: http://www.observium.org/svn/observer/trunk@1650 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -138,8 +138,9 @@ if (isset($_GET['format']) && preg_match("/^[a-z]*$/", $_GET['format']))
|
||||
$_GET['format'] = 'png';
|
||||
}
|
||||
|
||||
$maptool = 'unflatten -f -l 5 |dot';
|
||||
|
||||
#$maptool = 'unflatten -f -l 5 |dot';
|
||||
$maptool = 'dot';
|
||||
|
||||
if ($where == '') { $maptool = 'neato -Gpack'; }
|
||||
|
||||
$img = shell_exec("echo \"".addslashes($map)."\" | $maptool -T".$_GET['format']."");
|
||||
|
Reference in New Issue
Block a user