summaryrefslogtreecommitdiffstats
path: root/native
diff options
context:
space:
mode:
authorErik Kline <ek@google.com>2015-06-17 13:19:54 +0900
committerErik Kline <ek@google.com>2015-06-18 14:50:21 +0900
commit4136850b80865141e554b61068c51f1d525b2600 (patch)
treea7426cebe83e154f2ef4dbd60a23fb95c96e0774 /native
parentf4d225a4b502ef227788447eb1a5bb2902019c01 (diff)
downloadframeworks_base-4136850b80865141e554b61068c51f1d525b2600.zip
frameworks_base-4136850b80865141e554b61068c51f1d525b2600.tar.gz
frameworks_base-4136850b80865141e554b61068c51f1d525b2600.tar.bz2
Carefully select which DNS servers to send to netd
Select only DNS servers that: - are reachable, according to routes in the LinkProperties, AND - have a "suitable" source address in the LinkProperites, meaning: - IPv4 DNS server: - only if LinkProperties has any IPv4 address - IPv6 link-local DNS server: - only if the server has a scopeId set - assume for now that LinkProperties has a suitable link-local address - IPv6 non-link-local DNS server: - only if LinkProperties has a global, preferred IPv6 address Bug: 19470192 Bug: 20733156 Change-Id: Ibd95f3f7b33a4fb6c36d1cea4adb63c99068f657
Diffstat (limited to 'native')
0 files changed, 0 insertions, 0 deletions