diff options
| author | 2015-06-17 13:19:54 +0900 | |
|---|---|---|
| committer | 2015-06-18 14:50:21 +0900 | |
| commit | 4136850b80865141e554b61068c51f1d525b2600 (patch) | |
| tree | a7426cebe83e154f2ef4dbd60a23fb95c96e0774 /libs/androidfw/ZipFileRO.cpp | |
| parent | f4d225a4b502ef227788447eb1a5bb2902019c01 (diff) | |
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 'libs/androidfw/ZipFileRO.cpp')
0 files changed, 0 insertions, 0 deletions