diff --git a/net/eth.c b/net/eth.c index cfb0fef..a82a263 100644 --- a/net/eth.c +++ b/net/eth.c @@ -168,8 +168,10 @@ dev_set_param(dev, "ethaddr", ethaddr_str); } - if (!eth_current) + if (!eth_current) { eth_current = edev; + net_update_env(); + } return 0; }