Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dpctl: Do not allow out of range values in ct-set-limits.
The ovs_scan() doesn't enforce in-range values and so lsbits are stored in case of out-of-range or negative values. This way negative or values greater than MAX_UINT32 for "default" are all accepted in dpctl_ct_set_limits(), but they will eventually be casted to uint32_t, whereas for zones all the values above are considered invalid. Align their behaviors and extend the tests for checking values out of the range. Signed-off-by: Paolo Valerio <[email protected]> Signed-off-by: Aaron Conole <[email protected]>
- Loading branch information