ofp-util: Correct length of hello version bitmap
authorSimon Horman <horms@verge.net.au>
Wed, 7 Nov 2012 08:02:59 +0000 (17:02 +0900)
committerBen Pfaff <blp@nicira.com>
Fri, 9 Nov 2012 18:01:41 +0000 (10:01 -0800)
commit74c4b9c1c24b6579dcaa127268530af9bffa29b4
tree9efc37e02e2ac0af075331c55ab14ee66e6ae909
parent6694e498efc445ec24ef1715ae03ebb43daa678f
ofp-util: Correct length of hello version bitmap

The length of the hello version bitmap is measured in bytes
so the return value of sizeof is sufficient. Dividing
this by CHAR_BIT (=8) seems to be an artifact of reworking
a previous version of this code.

Signed-off-by: Simon Horman <horms@verge.net.au>
Signed-off-by: Ben Pfaff <blp@nicira.com>
lib/ofp-util.c