Skip to content
Commit c26f3945 authored by Robert Lubos's avatar Robert Lubos Committed by Benjamin Cabé
Browse files

net: context: Verify if CONFIG_NET_SOCKETS_PACKET_DGRAM is enabled



Verify if CONFIG_NET_SOCKETS_PACKET_DGRAM is enabled when creating a
datagram packet socket. Otherwise, it's possible to create
non-functional AF_PACKET/SOCK_DGRAM socket w/o an error.

Signed-off-by: default avatarRobert Lubos <robert.lubos@nordicsemi.no>
parent a9405d00
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment