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:
Adam Amstrong
2010-08-05 23:21:57 +00:00
parent 86f0647ded
commit c8c80a7dcf
2 changed files with 6 additions and 4 deletions

View File

@@ -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']."");