X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=net%2Feth_common.c;h=ed26b1b69359aae191481f058db7e99fa8c329b5;hb=c88bced3f6da6674f2cd59701fa4d46f37b76e84;hp=63f9379eec255d7b5108b5b3ec19517ab1d156ed;hpb=83d290c56fab2d38cd1ab4c4cc7099559c1d5046;p=oweals%2Fu-boot.git diff --git a/net/eth_common.c b/net/eth_common.c index 63f9379eec..ed26b1b693 100644 --- a/net/eth_common.c +++ b/net/eth_common.c @@ -7,7 +7,7 @@ #include #include -#include +#include #include #include #include "eth_internal.h" @@ -110,7 +110,7 @@ void eth_set_current(void) static int env_changed_id; int env_id; - env_id = get_env_id(); + env_id = env_get_id(); if ((act == NULL) || (env_changed_id != env_id)) { act = env_get("ethact"); env_changed_id = env_id;