summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net/eth.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/net/eth.c b/net/eth.c
index 83d559c..de6d5c6 100644
--- a/net/eth.c
+++ b/net/eth.c
@@ -234,6 +234,9 @@ int eth_initialize(bd_t *bis)
puts (" [PRIME]");
}
+ if (strchr(dev->name, ' '))
+ puts("\nWarning: eth device name has a space!\n");
+
eth_getenv_enetaddr_by_index(eth_number, env_enetaddr);
if (memcmp(env_enetaddr, "\0\0\0\0\0\0", 6)) {