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

Commit 83c9b4b6 authored by Luke Huang's avatar Luke Huang
Browse files

Set rcode correctly for caching hit

rcode isn't set if RESOLV_CACHE_FOUND in res_nsend.
Use the rcode in cached answer to corrcet it.

Test: built, flashed, booted
      system/netd/tests/runtests.sh pas

Change-Id: Ie40331bb7c9be9a78b209fdeecc2f37965b2b30b
parent 35bfddfb
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