ofp-util: Ignore invalid bitmaps in ofputil_decode_hello_bitmap().
authorBen Pfaff <blp@nicira.com>
Fri, 9 Nov 2012 17:57:57 +0000 (09:57 -0800)
committerBen Pfaff <blp@nicira.com>
Fri, 9 Nov 2012 18:01:42 +0000 (10:01 -0800)
commit0935de410ce518f6abe60c8bce35f67171e3059a
tree9a07d3258b1b762b02ba6361010d0068525f9038
parentcf7cf630e24dddba9177fcd68bcfa903689c7b72
ofp-util: Ignore invalid bitmaps in ofputil_decode_hello_bitmap().

This code has, until now, parsed and accepted invalid bitmaps.  It seems
better to simply ignore them, leaving the original set of allowed versions
from the version field in the ofp_header.

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