commit | cac05e43890f26c3175cc1965209c09f2de7447d | [log] [tgz] |
---|---|---|
author | Mike Yu <yumike@google.com> | Tue Nov 06 19:20:07 2018 +0800 |
committer | Mike Yu <yumike@google.com> | Mon Nov 12 16:00:28 2018 +0800 |
tree | 54db1c2e6bb2a280567ad2bce35a19bb49bbf890 | |
parent | ea8b5eaa671cace08203fbf7b32b739970c23eec [diff] |
Unify DNS error codes reporting to the metrics gethostbyname and getaddrinfo have their own error codes. Unify these error codes to be POSIX EAI_*. This change is for better and even more detailed DNS metrics, and will not impact on applications. Also clean up no-op code: - res_put_state Bug: 113916551 Test: system/netd/tests/runtests.sh passed Change-Id: Id4bbabc8d4dd5f2fdc8fabd38dab753cbb07d691