summaryrefslogtreecommitdiff
path: root/net/eth.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/eth.c')
-rw-r--r--net/eth.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/eth.c b/net/eth.c
index 2e24b55..e9b22d8 100644
--- a/net/eth.c
+++ b/net/eth.c
@@ -691,6 +691,7 @@ static int on_ethaddr(const char *name, const char *value, enum env_op op,
memset(dev->enetaddr, 0, 6);
}
}
+ dev = dev->next;
} while (dev != eth_devices);
return 0;