aboutgitcodebugslistschat
path: root/README.md
diff options
context:
space:
mode:
authorStefano Brivio <sbrivio@redhat.com>2023-03-08 12:38:39 +0100
committerStefano Brivio <sbrivio@redhat.com>2023-03-09 03:44:21 +0100
commit5aea2f88ab5f63f01885109a4afb1271607fc06b (patch)
tree6ed6fbda7504a00da18fcc977492ee4172680777 /README.md
parent73992c42cea0df56f6ba0a3bef0f4a939f26ebad (diff)
downloadpasst-5aea2f88ab5f63f01885109a4afb1271607fc06b.tar
passt-5aea2f88ab5f63f01885109a4afb1271607fc06b.tar.gz
passt-5aea2f88ab5f63f01885109a4afb1271607fc06b.tar.bz2
passt-5aea2f88ab5f63f01885109a4afb1271607fc06b.tar.lz
passt-5aea2f88ab5f63f01885109a4afb1271607fc06b.tar.xz
passt-5aea2f88ab5f63f01885109a4afb1271607fc06b.tar.zst
passt-5aea2f88ab5f63f01885109a4afb1271607fc06b.zip
tcp, udp: Fix partial success return codes in {tcp,udp}_sock_init()
The comments say we should return 0 on partial success, and an error code on complete failure. Rationale: if the user configures a port forwarding, and we succeed to bind that port for IPv4 or IPv6 only, that might actually be what the user intended. Adjust the two functions to reflect the comments. Signed-off-by: Stefano Brivio <sbrivio@redhat.com> Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions