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

net: sockets: packet: Fix default binding order



Default binding should take place before we actually make use of the
local address when registering packet socket "connection".
Also, instead of hard coding the protocol for default binding to
ETH_P_ALL, use the protocol that the socket was created with.

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