projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ofp-print: Add missing "break".
[openvswitch]
/
lib
/
lacp.c
diff --git
a/lib/lacp.c
b/lib/lacp.c
index 3fe5eff320a1fbb56c8fa2dbea3dcf5dedb9182b..eaf01c3c909c62bae294d14c976636f7f3022239 100644
(file)
--- a/
lib/lacp.c
+++ b/
lib/lacp.c
@@
-347,7
+347,7
@@
lacp_slave_get_port_id(const struct lacp *lacp, const void *slave_)
bool
lacp_slave_is_current(const struct lacp *lacp, const void *slave_)
{
bool
lacp_slave_is_current(const struct lacp *lacp, const void *slave_)
{
- return slave_lookup(lacp, slave_)->status
== LACP_CURRENT
;
+ return slave_lookup(lacp, slave_)->status
!= LACP_DEFAULTED
;
}
/* This function should be called periodically to update 'lacp'. */
}
/* This function should be called periodically to update 'lacp'. */