Signed-off-by: Andy Zhou <az...@nicira.com> --- ofproto/ofproto-dpif-xlate.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/ofproto/ofproto-dpif-xlate.c b/ofproto/ofproto-dpif-xlate.c index 67b7017..5b0791f 100644 --- a/ofproto/ofproto-dpif-xlate.c +++ b/ofproto/ofproto-dpif-xlate.c @@ -876,11 +876,11 @@ bucket_is_alive(const struct xlate_ctx *ctx, return false; } - return !ofputil_bucket_has_liveness(bucket) || - (bucket->watch_port != OFPP_ANY && - odp_port_is_alive(ctx, bucket->watch_port)) || - (bucket->watch_group != OFPG_ANY && - group_is_alive(ctx, bucket->watch_group, depth + 1)); + return !ofputil_bucket_has_liveness(bucket) + || (bucket->watch_port != OFPP_ANY + && odp_port_is_alive(ctx, bucket->watch_port)) + || (bucket->watch_group != OFPG_ANY + && group_is_alive(ctx, bucket->watch_group, depth + 1)); } static struct ofputil_bucket * -- 1.9.1 _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev