resolved: update condition for caching full packets
authorRonan Pigott <ronan@rjp.ie>
Sat, 12 Oct 2024 17:00:56 +0000 (10:00 -0700)
committerRonan Pigott <ronan@rjp.ie>
Sat, 19 Oct 2024 04:21:35 +0000 (21:21 -0700)
commitfa02d04ee9a4787c2c39032185b6fe3e7146b26b
treeb88ce97cabe83775db25e82b1a218edf10794530
parent36074e01499ea4fc89a0c642cef83bd650014e5a
resolved: update condition for caching full packets

Previously a full packet was cached only if the CD bit was set, but this
no longer corresponds to the cases where bypass is enabled.

Update the cache to retain a full packet in the cases where it might
actually be useful.
src/resolve/resolved-dns-transaction.c