Skip to content
Commit 4dd5867a authored by Ruslan Mstoi's avatar Ruslan Mstoi Committed by Anas Nashif
Browse files

net: conn: Fix is_invalid_packet



In switch statement break statement was missing causing IPv4 part to
execute even if the packet is IPv6. Also logical negation is wrong in
this context.

Signed-off-by: default avatarRuslan Mstoi <ruslan.mstoi@intel.com>
parent 3fb20eb8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment