ovs-ofctl: Fix dump-ports and queue-stats commands.
authorBen Pfaff <blp@nicira.com>
Thu, 21 Jul 2011 21:44:54 +0000 (14:44 -0700)
committerBen Pfaff <blp@nicira.com>
Wed, 27 Jul 2011 22:00:34 +0000 (15:00 -0700)
commiteaa6eb2afd76819de5df0ae9ed753627504ed7e4
tree47e5fa367e6224739c2ae91408e1ccb8bd1cf7ae
parentc4ea79bf9c68a4d040a499d142e121f01b314242
ovs-ofctl: Fix dump-ports and queue-stats commands.

These ovs-ofctl commands have been sending malformed stats requests since
commit 63f2140a553 "openflow: Make stats replies more like other OpenFlow
messages."  This commit fixes the problem and adds basic unit tests that
should prevent similar regressions.

Reported-by: Hao Zheng <hzheng@nicira.com>
tests/ofproto.at
utilities/ovs-ofctl.c