diff options
Diffstat (limited to 'net/ifup.c')
-rw-r--r-- | net/ifup.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/ifup.c b/net/ifup.c index 409b338ec1..f3b65f780f 100644 --- a/net/ifup.c +++ b/net/ifup.c @@ -58,6 +58,8 @@ int ifup(const char *name, unsigned flags) if (edev && edev->ipaddr && !(flags & IFUP_FLAG_FORCE)) return 0; + eth_set_current(edev); + env_push_context(); setenv("ip", ""); |