Commit be09f5bc authored by Simon Goldschmidt's avatar Simon Goldschmidt Committed by Joe Hershberger

net: fix env flags for eth10addr and above

With CONFIG_REGEX enabled, ETHADDR_WILDCARD is set up for up to 10
interfaces (0..9) as the number can only have one digit.

On boards with more than 10 interfaces, this leads to the protection
and format checks being absent for eth10addr and above.

Fix this by changing ETHADDR_WILDCARD from "\\d?" to "\\d*" to allow
more than one digit.
Signed-off-by: default avatarSimon Goldschmidt <>
Acked-by: Joe Hershberger's avatarJoe Hershberger <>
parent 6880efdf
......@@ -38,7 +38,7 @@ enum env_flags_varaccess {
#define ETHADDR_WILDCARD "\\d?"
#define ETHADDR_WILDCARD "\\d*"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment