From 13ad61c46e8a8f6b620818d30bfd855537ffe9e7 Mon Sep 17 00:00:00 2001 From: Joe Stringer Date: Wed, 9 Aug 2017 13:38:07 -0700 Subject: [PATCH] ovn-northd: Fix minor style variation. Signed-off-by: Joe Stringer Acked-by: Ben Pfaff --- ovn/northd/ovn-northd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ovn/northd/ovn-northd.c b/ovn/northd/ovn-northd.c index 99d15a7a56c..49e4ac3383d 100644 --- a/ovn/northd/ovn-northd.c +++ b/ovn/northd/ovn-northd.c @@ -1886,7 +1886,7 @@ ovn_port_update_sbrec(struct northd_context *ctx, if (chassis) { /* If we found the chassis, and the gw chassis on record * differs from what we expect go ahead and update */ - if (op->sb->n_gateway_chassis !=1 + if (op->sb->n_gateway_chassis != 1 || strcmp(op->sb->gateway_chassis[0]->chassis->name, chassis->name) || op->sb->gateway_chassis[0]->priority != 0) {