Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
8cc73266
Commit
8cc73266
authored
Sep 24, 2001
by
Christopher Alfeld
Browse files
Quick fix to handle Trunk cables. At some point someone should separate
out the Node and Trunk code.
parent
5f4f3035
Changes
1
Hide whitespace changes
Inline
Side-by-side
tbsetup/ptopgen.in
View file @
8cc73266
...
...
@@ -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
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment