-
Bug
-
Resolution: Done
-
Low
-
None
-
None
-
None
The map_add_del_rule Python API call does not add the rule.
After inspecting the code it turns out that is_add is of u32 type,
but the byte order is not changed, and after cast to u8 the non
zero bytes are lost. Changing the type of is_add
to u8 seems to fix the problem. Alternatively calling ntohl in
vl_api_map_add_del_rule_t_handler, but that is probably
not the desired solution.