Skip to content
Commit d72212ad authored by Jukka Rissanen's avatar Jukka Rissanen Committed by Anas Nashif
Browse files

net: socket: Set default protocol if proto == 0



If proto field in socket() call is set to 0, then we should have
a sane default for it that depends on the type of the socket.

Fixes #18873

Signed-off-by: default avatarJukka Rissanen <jukka.rissanen@linux.intel.com>
parent 16766c20
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment