diff options
Diffstat (limited to 'net/dhcp.c')
-rw-r--r-- | net/dhcp.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/net/dhcp.c b/net/dhcp.c index f41d2dd305..79aa75d878 100644 --- a/net/dhcp.c +++ b/net/dhcp.c @@ -615,6 +615,9 @@ int dhcp(struct eth_device *edev, const struct dhcp_req_param *param) dhcp_result_free(res); + if (!ret) + edev->ifup = true; + return ret; } |