summaryrefslogtreecommitdiff
path: root/board/bf537-pnav
diff options
context:
space:
mode:
Diffstat (limited to 'board/bf537-pnav')
-rw-r--r--board/bf537-pnav/bf537-pnav.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/bf537-pnav/bf537-pnav.c b/board/bf537-pnav/bf537-pnav.c
index df00110..93522df 100644
--- a/board/bf537-pnav/bf537-pnav.c
+++ b/board/bf537-pnav/bf537-pnav.c
@@ -26,7 +26,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);
}