mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-21 22:51:37 +00:00
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>
This commit is contained in:
parent
31a48cf4e1
commit
0299cee530
1 changed files with 2 additions and 2 deletions
|
@ -57,8 +57,8 @@ enum env_flags_varaccess {
|
|||
"gatewayip:i," \
|
||||
"netmask:i," \
|
||||
"serverip:i," \
|
||||
"nvlan:i," \
|
||||
"vlan:i," \
|
||||
"nvlan:d," \
|
||||
"vlan:d," \
|
||||
"dnsip:i,"
|
||||
#else
|
||||
#define ETHADDR_FLAGS
|
||||
|
|
Loading…
Add table
Reference in a new issue