net: fix vlan validation
authorStefan Agner <stefan@agner.ch>
Wed, 13 Apr 2016 23:38:01 +0000 (16:38 -0700)
committerJoe Hershberger <joe.hershberger@ni.com>
Tue, 3 May 2016 22:52:11 +0000 (17:52 -0500)
commit0299cee53014f12a60c5b7d317eb2e6ea97c530d
treefcbd7cf9374ca28f4efc2273b62670fdc8b8eb2c
parent31a48cf4e158160e0482415457ef0f69f079368d
net: fix vlan validation

VLAN identifiers are 12-bit decimal numbers, not IP addresses.

Signed-off-by: Stefan Agner <stefan@agner.ch>
Reviewed-by: Tom Rini <trini@konsulko.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
include/env_flags.h