Loading
posix: return bool false from is_ipv* functions
Previously, these functions returned -1 on error, which is converted to true when cast to bool in C. This is misleading, as false should be returned on failure (with errno set). Change-Id: Ie6f0a6b298c8d7e5e7c65e184c2ac89cf2550bef Signed-off-by:Artsiom Koltun <artsiom.koltun@intel.com> Reviewed-on: https://review.spdk.io/c/spdk/spdk/+/26875 Tested-by:
SPDK Automated Test System <spdkbot@gmail.com> Community-CI: Mellanox Build Bot Reviewed-by:
Jacek Kalwas <jacek.kalwas@nutanix.com> Reviewed-by:
Jim Harris <jim.harris@nvidia.com>