Skip to content
Commit fa87944a authored by Patrik Flykt's avatar Patrik Flykt Committed by Anas Nashif
Browse files

net: Check that net context is unset based on IP protocol



Rather than checking whether the remote port is zero, use the IP protocol
field. The remote port might be zero if all incoming connections will be
accepted.

Change-Id: Ia1f24ae94fab27c561267c7bbc0f709fe98ee7e8
Signed-off-by: default avatarPatrik Flykt <patrik.flykt@linux.intel.com>
Signed-off-by: default avatarJukka Rissanen <jukka.rissanen@linux.intel.com>
parent b9932774
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment