Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emulab
emulab-devel
Commits
1153a1fb
Commit
1153a1fb
authored
Oct 06, 2003
by
Robert Ricci
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix a bug in the mapping precheck that was allowing nodes with too
many links to slip by unnoticed.
parent
89b168e9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
assign/assign.cc
assign/assign.cc
+1
-1
No files found.
assign/assign.cc
View file @
1153a1fb
...
...
@@ -437,7 +437,7 @@ int mapping_precheck() {
// 'interfaces' due to the fact that it can have interswitch
// links
if
((
pnode
->
total_interfaces
>=
v
->
num_links
)
||
pnode
->
current_type
.
compare
(
"switch"
))
{
(
!
pnode
->
current_type
.
compare
(
"switch"
))
)
{
matched_links
++
;
}
else
{
potential_match
=
false
;
...
...
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