summaryrefslogtreecommitdiff
path: root/tools/generate-version-script.py
diff options
context:
space:
mode:
authornuccachen <nuccachen@google.com>2018-09-12 16:36:50 +0800
committernuccachen <nuccachen@google.com>2018-11-01 16:40:34 +0800
commit8d65a81fb6f485658bbce9c2376424947c9f01f4 (patch)
tree71ff04f831b8d3fb35c0d960dbdee66810c57373 /tools/generate-version-script.py
parente2833f27c17e87021dae45c0d45025afd51f1e7e (diff)
getnameinfo: Don't add flag NI_NUMERICHOST for well-known prefix address
Currently, getnameinfo() will never issue a reverse DNS lookup if the first byte of the IPv6 address is 0x00. This means it is not possible to do a reverse DNS lookup for a NAT64 address if the NAT64 prefix is the well-known prefix. Make this possible by treating the well-known prefix specially. This is not needed for unicast NAT64 prefixes because they do not start with 0x00. Bug: 78545619 Test: netd_{unit,integration}_test pass Test: bionic-unit-tests --gtest_filter='net*' pass Change-Id: I176d30dcf411a5ffe1eec110db99cd73b48e956f
Diffstat (limited to 'tools/generate-version-script.py')
0 files changed, 0 insertions, 0 deletions