Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
unit-test: fix sitnl systematic failure
It was noted that the SITNL unit test is always failing for no clear reason. It turned out that commit 22ba196 ("SITNL: revert change of sitnl_send return type, return int"), that was supposed to be a simple revert of ae663c5 ("Using new numeric conversion tools") is actually converting two "return ret" into return -1 and return -EINVAL accordingly. This accidental change results in two functions always returning an error despite terminating succesfully. This behaviour was obviously fooling the unitest which failed in result. Fix both functions by properly returning "ret" as it was originally. Signed-off-by: Antonio Quartulli <antonio@openvpn.net>
- Loading branch information