Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
emulab-devel
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
143
Issues
143
List
Boards
Labels
Service Desk
Milestones
Merge Requests
6
Merge Requests
6
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
emulab
emulab-devel
Commits
6df5b4d3
Commit
6df5b4d3
authored
May 22, 2014
by
Leigh B Stoller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug fix; assign does not like 0 bw, use 1.
parent
b4e49420
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
tbsetup/ptopgen.in
tbsetup/ptopgen.in
+3
-2
No files found.
tbsetup/ptopgen.in
View file @
6df5b4d3
...
...
@@ -1945,8 +1945,9 @@ while (($node1,$card1,$port1,$node2,$card2,$port2) =
# Zero bandwidth is okay, and causes assign to use the
# no_bandwith error instead of the no_connect error.
#
if
(
$bw
<
0
)
{
$bw
=
0
;
if
(
$bw
<=
0
)
{
# Well, zero is not okay, but 1 will do what we need.
$bw
=
1
;
}
}
...
...
Write
Preview
Markdown
is supported
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