]> git.sur5r.net Git - u-boot/blobdiff - net/bootp.c
env: Rename getenv_hex(), getenv_yesno(), getenv_ulong()
[u-boot] / net / bootp.c
index 6c869ef8560b45a83bdf0c7e0932567b6122b708..73370a13fe7de813f9bb6ec7ff9daad7982b9047 100644 (file)
@@ -504,7 +504,7 @@ static int dhcp_extended(u8 *e, int message_type, struct in_addr server_ip,
 #endif
 
        if (env_get("bootp_arch"))
-               clientarch = getenv_ulong("bootp_arch", 16, clientarch);
+               clientarch = env_get_ulong("bootp_arch", 16, clientarch);
 
        if (clientarch > 0) {
                *e++ = 93;      /* Client System Architecture */