ofp-util: Fix table features decoding of multiple tables.
authorBen Pfaff <blp@nicira.com>
Mon, 28 Jul 2014 18:46:36 +0000 (11:46 -0700)
committerBen Pfaff <blp@nicira.com>
Mon, 11 Aug 2014 18:35:50 +0000 (11:35 -0700)
commitae665de5e66b02d761cea5544b5b0affb3e5093c
tree6d16764b089afaeb7fa3c884a9467c7b741f0bee
parent3c1bb3962236c6471fea3eb8dd2e5a83b1b4ea81
ofp-util: Fix table features decoding of multiple tables.

Table features replies can be packed back-to-back within a single
multipart reply.  The code here didn't properly parse properties when this
occurred.  This fixes the problem.

There is no test in the current tree that exercises this decoding, but an
upcoming commit that adds ofproto support for table-features requests will
add one.

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