commit | 21f7b34c81559574ea6c8ce7c1fd62423d07f566 | [log] [tgz] |
---|---|---|
author | Paul Stewart <pstew@chromium.org> | Tue Nov 19 10:15:58 2013 -0800 |
committer | chrome-internal-fetch <chrome-internal-fetch@google.com> | Tue Nov 19 21:23:13 2013 +0000 |
tree | d239916fe7b4e34fa4d9f6759865280c27e7ae99 | |
parent | c6fbad96f565fda1caae9cd80569314685c99b90 [diff] |
shill: DHCPConfig: Get new lease with RenewIP If a DHCP process is not running when RenewIP is called, acquire a new lease instead of returning. This allows callers external to shill to avoid having to keep track of whether the IPConfig object has a lease or not. BUG=chromium:318290 TEST=Unit test + manual: Reproduce the issue in crbug.com/318290. In specific, change the IP address to a static IP first and close the configuration panel, then separately switch to custom name servers. Change-Id: Ifebf7507f65dc981e5ca77d000ba298e0c6f22ee Reviewed-on: https://chromium-review.googlesource.com/177350 Reviewed-by: mukesh agrawal <quiche@chromium.org> Commit-Queue: Paul Stewart <pstew@chromium.org> Tested-by: Paul Stewart <pstew@chromium.org>