summaryrefslogtreecommitdiff
path: root/ovn
diff options
context:
space:
mode:
authorMaks Naumov <maksqwe1@ukr.net>2018-12-26 01:19:27 +0200
committerBen Pfaff <blp@ovn.org>2018-12-27 09:54:24 -0800
commit2a104de013b7ce7496b5b3c9c84e9b993a63b58a (patch)
treeb3239c8154b5b15d595f6f9d69c1d73dd7c1e067 /ovn
parent2c1e8022d19199010d0182b6f244bc574065e2d8 (diff)
downloadopenvswitch-2a104de013b7ce7496b5b3c9c84e9b993a63b58a.tar.gz
ovn: Fix incorrect comparison of the NB and SB band action
Signed-off-by: Ben Pfaff <blp@ovn.org>
Diffstat (limited to 'ovn')
-rw-r--r--ovn/northd/ovn-northd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ovn/northd/ovn-northd.c b/ovn/northd/ovn-northd.c
index 6850d4f72..8917a2354 100644
--- a/ovn/northd/ovn-northd.c
+++ b/ovn/northd/ovn-northd.c
@@ -7031,7 +7031,7 @@ bands_need_update(const struct nbrec_meter *nb_meter,
for (size_t i = 0; i < nb_meter->n_bands; i++) {
if (nb_bands[i].rate != sb_bands[i].rate
|| nb_bands[i].burst_size != sb_bands[i].burst_size
- || strcmp(nb_bands[i].action, nb_bands[i].action)) {
+ || strcmp(nb_bands[i].action, sb_bands[i].action)) {
need_update = true;
goto done;
}