Skip to content

Commit

Permalink
issue: 618523 Fix a bug in finding the active and up slaves
Browse files Browse the repository at this point in the history
A break call was out of if{} context by mistake.

Signed-off-by: Or Kehati <[email protected]>

Change-Id: Ieec751300f5510054ee2a274b457d473305b79cd
  • Loading branch information
orkmellanox committed Nov 16, 2015
1 parent a8f8c21 commit ce1231e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vma/dev/net_device_val.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -384,8 +384,8 @@ bool net_device_val::get_up_and_active_slaves(bool* up_and_active_slaves, size_t
for (i = 0; i < m_slaves.size(); i++) {
if (up_slaves[i]) {
up_and_active_slaves[i] = true;
break;
}
break;
}
}

Expand Down

0 comments on commit ce1231e

Please sign in to comment.