commit | 6f65c0b387f6dde8113f52745b758ca1c4f349be | [log] [tgz] |
---|---|---|
author | Paul Stewart <pstew@chromium.org> | Tue Sep 11 14:57:32 2012 -0700 |
committer | Gerrit <chrome-bot@google.com> | Tue Sep 11 16:22:32 2012 -0700 |
tree | de047eda9bcf809339379cd7ab51686d918b7227 | |
parent | d176092734304a3ec5ca74d3f4f8e4da3ddaa1fb [diff] |
shill: Connection: Don't call Resolver::SetDNSFromIPConfig Don't ever call this function (in fact, remove this from the resolver), and refactor the code that correctly generates the DNS search list so that it is usable both from Connection::UpdateFromIPConfig() and from void Connection::SetIsDefault(). BUG=chromium-os:34260 TEST=Rerun unit tests + Manual: Connect to AP that supplies only "DomainName", and ensure that /etc/resolv.conf contains this domain in the search field both initially and after DHCP renewal. Change-Id: I9a0705cb54e6588915533cc343b05efcdee71293 Reviewed-on: https://gerrit.chromium.org/gerrit/32996 Reviewed-by: mukesh agrawal <quiche@chromium.org> Commit-Ready: Paul Stewart <pstew@chromium.org> Tested-by: Paul Stewart <pstew@chromium.org>