diff options
author | Luke Huang <huangluke@google.com> | 2019-04-17 22:27:56 +0800 |
---|---|---|
committer | Luke Huang <huangluke@google.com> | 2019-05-23 11:23:41 +0800 |
commit | 247d83a68b30165cc64129d0c2a51b6e5d832c04 (patch) | |
tree | 42f39a25e8828ea2a63311147c1776c758a0dbe1 /startop/scripts/lib/cmd_utils.py | |
parent | 41537638f0efee8ccfe575471914824f173a248d (diff) |
Add Rfc6724 style sort for DnsResolver and fix potential bug
1. pass default network explicitly to fix potential
mis-sync network problem in DnsResolver#query
2. Add rfc6724 sort and related test
3. DnsResolver do rfc6724 sort before response InetAddress answers
4. move haveIpv* function from DnsResolver to DnsUtils
Bug: 129530368
Test: atest DnsResolverTest DnsUtilsTest
Change-Id: I4efa599c0605f6a9e4ef2dd1a36572c69b3c433f
Diffstat (limited to 'startop/scripts/lib/cmd_utils.py')
0 files changed, 0 insertions, 0 deletions