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
624094c7
Commit
624094c7
authored
May 29, 2002
by
Robert Ricci
Browse files
Sort both links lists, so that it's easier to compare them.
Suggested by Tim.
parent
f36a714b
Changes
1
Hide whitespace changes
Inline
Side-by-side
tbsetup/tbreport.in
View file @
624094c7
...
...
@@ -226,7 +226,8 @@ if ($showlinks) {
my
$result
=
DBQueryFatal
("
select vname,member,delay,bandwidth,lossrate
"
.
"
from virt_lans where pid='
$pid
' and eid='
$eid
'
");
"
from virt_lans where pid='
$pid
' and eid='
$eid
'
"
.
"
order by vname
");
if
(
$result
->
numrows
)
{
print
"
Lan/Link Info:
\n
";
...
...
@@ -297,7 +298,7 @@ if ($showlinks) {
print
"
--------------- --------------- --------------- ---------
"
.
"
--------- ---------
\n
";
foreach
my
$link
(
keys
%links
)
{
foreach
my
$link
(
sort
keys
%links
)
{
my
(
$node1
,
$node2
)
=
@
{
$links
{
$link
}};
my
(
$virt1
,
$pname1
,
$card1
)
=
@$node1
;
my
(
$virt2
,
$pname2
,
$card2
)
=
@$node2
;
...
...
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