Commit 03c29a60 authored by Leigh B. Stoller's avatar Leigh B. Stoller
Browse files

Minor fix to previous revision.

parent 9353d1d7
......@@ -4402,17 +4402,19 @@ sub CreateTopFile()
"(endnode traffic shaping)\n");
$toperrors++;
}
#
# All the OS's have to support linkdelays.
#
foreach my $node ($node0, $node1) {
my $osid = virtnodeosid($node);
else {
#
# All the OS's have to support linkdelays.
#
foreach my $node ($node0, $node1) {
my $osid = virtnodeosid($node);
if (! $osdoeslinkdelays{$osid}) {
tbwarn("$node in link $lan is running an OSID ".
"($osid) that does not support linkdelays ".
"(endnode traffic shaping)\n");
$toperrors++;
if (! $osdoeslinkdelays{$osid}) {
tbwarn("$node in link $lan is running an OSID ".
"($osid) that does not support linkdelays ".
"(endnode traffic shaping)\n");
$toperrors++;
}
}
}
}
......@@ -4581,16 +4583,18 @@ sub CreateTopFile()
"(endnode traffic shaping)\n");
$toperrors++;
}
#
# All the OS's have to support linkdelays.
#
my $osid = virtnodeosid($node);
else {
#
# All the OS's have to support linkdelays.
#
my $osid = virtnodeosid($node);
if (! $osdoeslinkdelays{$osid}) {
tbwarn("$node in lan $lan is running an OSID ($osid) ".
"that does not support linkdelays ".
"(endnode traffic shaping)\n");
$toperrors++;
if (! $osdoeslinkdelays{$osid}) {
tbwarn("$node in lan $lan is running an OSID ".
"($osid) that does not support linkdelays ".
"(endnode traffic shaping)\n");
$toperrors++;
}
}
}
......
Markdown is supported
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