[ovs-dev] [PATCH 5/5] vswitchd: LACP switch lacp_status to bit mask.

Ethan Jackson ethan at nicira.com
Mon Feb 7 19:48:34 UTC 2011


>     return iface->port->lacp & LACP_ACTIVE
> -        || iface->lacp_status != LACP_STATUS_DEFAULTED;
> +        || iface->lacp_status & LACP_CURRENT
> +        || iface->lacp_status & LACP_EXPIRED;
>  }

Didn't notice this instance, I will change it to x & (a | b | c) before merging.




More information about the dev mailing list