commit | f4e9b9abcff01ac282f7c4df6d0e448cd452ed69 | [log] [tgz] |
---|---|---|
author | Lorenzo Colitti <lorenzo@google.com> | Mon Mar 15 23:19:58 2021 +0900 |
committer | Lorenzo Colitti <lorenzo@google.com> | Mon Mar 15 23:24:06 2021 +0900 |
tree | 22aec7f421a98ac1880ebe124e05085064927968 | |
parent | 9fd65a6a6a6e01c504d8f85e8e700b2b782e9f89 [diff] |
Fix a bug in InetAddressUtils, and add a test. InetAddressUtils's parcelInetAddress and #unparcelInetAddress methods do not correctly parcel scoped IPv6 addresses. Fix this by using the same code that LinkProperties uses, and add a test. Bug: 182785371 Test: atest NetworkStaticLibTests Change-Id: Idc9fcbcf4b2b0746c19831fef68b0ddc206eb161