commit | a02ee49759d43133ba6aa6302e5a44de5a920044 | [log] [tgz] |
---|---|---|
author | Paul Stewart <pstew@chromium.org> | Wed May 16 10:04:53 2012 -0700 |
committer | Gerrit <chrome-bot@google.com> | Tue May 29 15:38:04 2012 -0700 |
tree | 048fbf238f2ba899e5723bf5909abe3e259f6482 | |
parent | 877a2fd2ddc3e97341fd9cae3b923619b1f06488 [diff] |
shill: DHCPConfig: Enable and accept "GATEWAY-ARP" messages Speed up the authentication process by enabling dhcpcd to probe for the default gateway. This provides a quick means for verifying that we are on the same network as before. When this succeeds, re-configure using our saved lease parameters, but continue our timeout so that a failed DHCP renew will cause the network to enter the failed state. A side effect of this change is that we don't ask dhcpcd to release our lease on disconnect. This is not as big a change as one might think -- in many cases were are already disconnected from the network by the time this code hits, which means we were just removing our own memory of the lease instead of actually freeing the remote resource. BUG=chromium-os:25717 TEST=Unit tests; manual: switch between two known networks Change-Id: Ib219033e688aa8c31eb86b45e9dd27a607bb93c9 Reviewed-on: https://gerrit.chromium.org/gerrit/23906 Commit-Ready: Paul Stewart <pstew@chromium.org> Reviewed-by: Paul Stewart <pstew@chromium.org> Tested-by: Paul Stewart <pstew@chromium.org>