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)
committerPaul Jensen <pauljensen@google.com>
Thu, 17 Apr 2014 17:35:33 +0000 (13:35 -0400)
commitbe1e7d8c0e0abb37262770e2455176413a4b0f7f
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