Skip to content
Commit 85e2bf2a authored by Robert Lubos's avatar Robert Lubos Committed by Anas Nashif
Browse files

net: ethernet: Fix vlan tag verification



`net_eth_vlan_enable()` allowed to use illegal vlan tag values, fix this
by disallowing any tag value higher or equal to 0xfff (which is a limit
for the tag and a reserved value).

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