fix error from last commit

SVN-Revision: 13296
lede-17.01
Thomas Langer 2008-11-20 19:04:00 +00:00
parent 1bc6841c8d
commit fabfe77cd8
1 changed files with 1 additions and 1 deletions

View File

@ -258,7 +258,7 @@ static int __init ifxmips_set_ethaddr(char *str)
goto out;
if ((i != 5) && (str[(3 * i) + 2] != ':'))
goto out;
ifxmips_ethaddr[i] = strict_strtoul(&str[3 * i], NULL, 16);
ifxmips_ethaddr[i] = simple_strtoul(&str[3 * i], NULL, 16);
}
if (is_valid_ether_addr(ifxmips_ethaddr))
cmdline_mac = 1;