Commit 8cc73266 authored by Christopher Alfeld's avatar Christopher Alfeld
Browse files

Quick fix to handle Trunk cables. At some point someone should separate

out the Node and Trunk code.
parent 5f4f3035
......@@ -116,7 +116,7 @@ sub get_ifacebw {
};
$sth = $dbh->prepare("SELECT node_id1,card1,port1,node_id2,card2,port2" .
" from wires where type=\"Node\"");
" from wires where type=\"Node\" or type=\"Trunk\"");
$sth->execute;
while (($node1,$card1,$port1,$node2,$card2,$port2) =
$sth->fetchrow_array) {
......
Supports Markdown
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