OSDN Git Service

Fix for DNS resolutions when there is no default network set yet.
authorPaul Jensen <pauljensen@google.com>
Thu, 17 Apr 2014 17:35:33 +0000 (13:35 -0400)
committerThe Android Automerger <android-build@google.com>
Thu, 17 Apr 2014 19:19:22 +0000 (12:19 -0700)
commita0d0877f0c305243d8e3e9e9c34d13cae7fe2e60
treebb2fff1eea4cf28434219b5e77d0da6b899705b9
parent17de4f01bb665ab5bee735cfa1adaad80fcc6286
Fix for DNS resolutions when there is no default network set yet.
We need to determine the actual netId to use prior to comparing
it against the default netId.  Also initialize the default network
variable.

bug:13877665
Change-Id: I24c05eb006e2c93d5e0a9b94fee4da408089d2b8
DnsProxyListener.cpp
NetworkController.cpp