ofp-util: Make ofputil_encode_hello() return a message with correct length.
authorBen Pfaff <blp@nicira.com>
Fri, 9 Nov 2012 17:59:12 +0000 (09:59 -0800)
committerBen Pfaff <blp@nicira.com>
Fri, 9 Nov 2012 18:01:43 +0000 (10:01 -0800)
commit1804d25a21dcdec83437ab1ebf9daf683d7e50da
tree7415a52a57a13dffd6bd09c909b3d02834f75230
parent0935de410ce518f6abe60c8bce35f67171e3059a
ofp-util: Make ofputil_encode_hello() return a message with correct length.

This doesn't fix a visible bug, because code to send OpenFlow messages
updates the length itself, but it still seems like the right thing to do.

Signed-off-by: Ben Pfaff <blp@nicira.com>
lib/ofp-util.c