Skip to content
Commit 1961adfb authored by Jukka Rissanen's avatar Jukka Rissanen Committed by Carles Cufí
Browse files

net: socket: Return ENOTSUP for unknown socket type in recvfrom()



If we for some reason are supplied unsupported socket type in
recvfrom(), then return ENOTSUP error to the caller instead of
silently accept it by returning 0.

Signed-off-by: default avatarJukka Rissanen <jukka.rissanen@nordicsemi.no>
parent 5539a47e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment