Skip to content

Commit

Permalink
ofp-meter: Fix ofp_print_meter_flags() output.
Browse files Browse the repository at this point in the history
It had a missing space.

CC: Yifeng Sun <[email protected]>
Fixes: 61677bf ("ofp-meter: Fix ds_put_format that treats enum type as short integer")
Signed-off-by: Ben Pfaff <[email protected]>
  • Loading branch information
blp committed Jun 27, 2018
1 parent 2468f67 commit e461481
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ofp-meter.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}

Expand Down

0 comments on commit e461481

Please sign in to comment.