commit | 85b2439dcbaa25bca8d7ffdcc2070bf0a4a56cb5 | [log] [tgz] |
---|---|---|
author | Luke Huang <huangluke@google.com> | Wed Feb 27 18:18:01 2019 +0800 |
committer | Luke Huang <huangluke@google.com> | Mon Mar 04 06:00:36 2019 +0000 |
tree | 6bbcd855798cf6111d9cbd8fb02f9d671b9f7411 | |
parent | 424b4840e3b0ca5d41fd53e32acdd59899ed00e1 [diff] |
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