diff options
| author | Mike Yu <yumike@google.com> | 2018-11-06 19:20:07 +0800 |
|---|---|---|
| committer | Mike Yu <yumike@google.com> | 2018-11-12 16:00:28 +0800 |
| commit | cac05e43890f26c3175cc1965209c09f2de7447d (patch) | |
| tree | 54db1c2e6bb2a280567ad2bce35a19bb49bbf890 /server/ControllersTest.cpp | |
| 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
Diffstat (limited to 'server/ControllersTest.cpp')
0 files changed, 0 insertions, 0 deletions
