]> git.meshlink.io Git - meshlink/commit
Fix the order of socket operations when setting up listening sockets.
authorGuus Sliepen <guus@meshlink.io>
Sun, 15 Mar 2020 15:08:44 +0000 (16:08 +0100)
committerGuus Sliepen <guus@meshlink.io>
Sun, 15 Mar 2020 15:08:44 +0000 (16:08 +0100)
commit097f88088e00923b74bc4c38e67feceb162ba4ef
tree836c540cdaf7fec9bd7e15721ba88c214e3e266f
parent0d79f476e0311fb36f41c9c6d86744f9d5386fba
Fix the order of socket operations when setting up listening sockets.

Commit db8e6e4 caused calls to setsockopt() for setting up socket parameters
to be called after the call to bind().
src/net.h
src/net_setup.c
src/net_socket.c