diff options
Diffstat (limited to 'net/eth.c')
-rw-r--r-- | net/eth.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/net/eth.c b/net/eth.c index 012158b7dc0..eabbf631b39 100644 --- a/net/eth.c +++ b/net/eth.c @@ -324,4 +324,8 @@ void eth_try_another(int first_restart) } } +char *eth_get_name (void) +{ + return (eth_current ? eth_current->name : "unknown"); +} #endif |