flow: fix compilation of MINIFLOW_ASSERT
authorSimon Horman <simon.horman@netronome.com>
Mon, 11 Jan 2016 05:00:25 +0000 (14:00 +0900)
committerJarno Rajahalme <jarno@ovn.org>
Tue, 12 Jan 2016 01:35:18 +0000 (17:35 -0800)
commite807a1a63d1176bce97071063fa480eb68662dc6
treec597aab263775709a23496c5c4e01984559ac9da
parentdf3790af842ff04b1fd8d406200f65f71f59f575
flow: fix compilation of MINIFLOW_ASSERT

Often MINIFLOW_ASSERT is a no-op and compilation of code that uses
it is optimised out. This patch fixes compilation errors that occur
when that is not the case:

* FLOWMAP_MAX does not exist. Use MAP_MAP instead.
* FLOWMAP_IS_SET does not exist. Use flowmap_is_set instead.

Signed-off-by: Simon Horman <simon.horman@netronome.com>
Acked-by: Jarno Rajahalme <jarno@ovn.org>
lib/flow.c