Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c7d55106 authored by Mike Yu's avatar Mike Yu
Browse files

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
parent f48c3c78
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment