summaryrefslogtreecommitdiffstats
path: root/board/bct-brettl2/bct-brettl2.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/bct-brettl2/bct-brettl2.c')
-rw-r--r--board/bct-brettl2/bct-brettl2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/bct-brettl2/bct-brettl2.c b/board/bct-brettl2/bct-brettl2.c
index 6be9b18015..1f0dfb4d40 100644
--- a/board/bct-brettl2/bct-brettl2.c
+++ b/board/bct-brettl2/bct-brettl2.c
@@ -32,7 +32,7 @@ int checkboard(void)
static void board_init_enetaddr(uchar *mac_addr)
{
puts("Warning: Generating 'random' MAC address\n");
- eth_random_addr(mac_addr);
+ net_random_ethaddr(mac_addr);
eth_setenv_enetaddr("ethaddr", mac_addr);
}