net: Apply default format rules to all ethaddr
authorJoe Hershberger <joe.hershberger@ni.com>
Wed, 20 May 2015 19:27:22 +0000 (14:27 -0500)
committerTom Rini <trini@konsulko.com>
Thu, 21 May 2015 13:13:20 +0000 (09:13 -0400)
commit73c2bbeea3d09bb8c81adc8769fc53493b6c0351
treee020d78e9a707bee28af09d3a009a382b7a6e132
parent94b467b14ed908c89a0780256e89b375aa3cf3ef
net: Apply default format rules to all ethaddr

Use a regular expression to apply the default formatting flags for all
ethaddr env vars.

Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
include/env_flags.h
test/dm/eth.c