OSDN Git Service

Fix for DNS resolutions when there is no default network set yet.
authorPaul Jensen <pauljensen@google.com>
Thu, 17 Apr 2014 19:02:32 +0000 (15:02 -0400)
committerPaul Jensen <pauljensen@google.com>
Thu, 17 Apr 2014 19:02:32 +0000 (15:02 -0400)
commitdac2ca3088bc2dfe7ff0afa19e701baeae466f96
treec2b7dfcfe72bd39b3158ecd989a0f1f87c03c7cb
parent45d7b7482e97b7445bf47fba3ffa3af764cadf48
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