diff options
author | Stefan Agner | 2016-04-13 16:38:01 -0700 |
---|---|---|
committer | Joe Hershberger | 2016-05-03 17:52:11 -0500 |
commit | 0299cee53014f12a60c5b7d317eb2e6ea97c530d (patch) | |
tree | fcbd7cf9374ca28f4efc2273b62670fdc8b8eb2c /include/env_flags.h | |
parent | 31a48cf4e158160e0482415457ef0f69f079368d (diff) |
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>
Diffstat (limited to 'include/env_flags.h')
-rw-r--r-- | include/env_flags.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/env_flags.h b/include/env_flags.h index 9e87e1b7dbf..0dcec0689b1 100644 --- a/include/env_flags.h +++ b/include/env_flags.h @@ -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 |