mirror of
https://passt.top/passt
synced 2025-01-03 11:25:24 +00:00
util: Always return -1 on error in sock_l4()
According to its doc comments, sock_l4() returns -1 on error. It does, except in one case where it returns -EIO. Fix this inconsistency to match the docs and always return -1. Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
This commit is contained in:
parent
9b0cc33d68
commit
8033a8e889