aboutsummaryrefslogtreecommitdiff
path: root/common/cmd_pxecfg.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/cmd_pxecfg.c')
-rw-r--r--common/cmd_pxecfg.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/common/cmd_pxecfg.c b/common/cmd_pxecfg.c
index ee1b66b86..694a212ee 100644
--- a/common/cmd_pxecfg.c
+++ b/common/cmd_pxecfg.c
@@ -50,6 +50,9 @@ static void format_mac_pxecfg(char **outbuf)
ethaddr = from_env("ethaddr");
if (!ethaddr)
+ ethaddr = from_env("usbethaddr");
+
+ if (!ethaddr)
return;
*outbuf = strdup(ethaddr);