ofp-util: Rearrange ofputil_append_meter_config() to be clearer.
authorBen Pfaff <blp@ovn.org>
Tue, 5 Jan 2016 01:13:53 +0000 (17:13 -0800)
committerBen Pfaff <blp@ovn.org>
Tue, 5 Jan 2016 16:38:38 +0000 (08:38 -0800)
commit6a5490c615ec8670ca4a190217eef10497a52efd
tree8ce69254a7c353d7488dc4dfc4f8bfa0e4441526
parent32756a57d59d4f8161b9578b7df42edf51ff807c
ofp-util: Rearrange ofputil_append_meter_config() to be clearer.

The code is easier to reason about with all of the assignments to the
members of 'reply' in one place.

Suggested-by: Andy Zhou <azhou@ovn.org>
Signed-off-by: Ben Pfaff <blp@ovn.org>
Acked-by: Justin Pettit <jpettit@ovn.org>
lib/ofp-util.c