summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Pfaff <blp@ovn.org>2018-06-27 07:07:49 -0700
committerBen Pfaff <blp@ovn.org>2018-06-27 07:08:02 -0700
commite4614813306778b24a609d8d68bba015aaee9dcd (patch)
tree672c73234bb2c7046fef41e869c286bd649aa2ee
parent2468f6751893c8a8c67a7265ba69f292b67aafef (diff)
downloadopenvswitch-e4614813306778b24a609d8d68bba015aaee9dcd.tar.gz
ofp-meter: Fix ofp_print_meter_flags() output.
It had a missing space. CC: Yifeng Sun <pkusunyifeng@gmail.com> Fixes: 61677bf976e9 ("ofp-meter: Fix ds_put_format that treats enum type as short integer") Signed-off-by: Ben Pfaff <blp@ovn.org>
-rw-r--r--lib/ofp-meter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ofp-meter.c b/lib/ofp-meter.c
index 4e5cb52fd..9ea40a0bf 100644
--- a/lib/ofp-meter.c
+++ b/lib/ofp-meter.c
@@ -337,7 +337,7 @@ ofp_print_meter_flags(struct ds *s, enum ofp13_meter_flags flags)
flags &= ~(OFPMF13_KBPS | OFPMF13_PKTPS | OFPMF13_BURST | OFPMF13_STATS);
if (flags) {
- ds_put_format(s, "flags:0x%x", (unsigned)flags);
+ ds_put_format(s, "flags:0x%x ", (unsigned)flags);
}
}