summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net/eth_legacy.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/eth_legacy.c b/net/eth_legacy.c
index d6d7cee..1354f49 100644
--- a/net/eth_legacy.c
+++ b/net/eth_legacy.c
@@ -118,6 +118,7 @@ static int on_ethaddr(const char *name, const char *value, enum env_op op,
case env_op_create:
case env_op_overwrite:
eth_parse_enetaddr(value, dev->enetaddr);
+ eth_write_hwaddr(dev, "eth", dev->index);
break;
case env_op_delete:
memset(dev->enetaddr, 0, 6);