mirror of
https://github.com/coredns/coredns.git
synced 2025-10-28 00:34:24 -04:00
retain response AD bit if requestor's AD bit was set (#5191)
Signed-off-by: Chris O'Haver <cohaver@infoblox.com>
This commit is contained in:
2
plugin/cache/cache_test.go
vendored
2
plugin/cache/cache_test.go
vendored
@@ -217,7 +217,7 @@ func TestCache(t *testing.T) {
|
||||
}
|
||||
|
||||
if ok {
|
||||
resp := i.toMsg(m, time.Now().UTC(), state.Do())
|
||||
resp := i.toMsg(m, time.Now().UTC(), state.Do(), m.AuthenticatedData)
|
||||
|
||||
if err := test.Header(tc.Case, resp); err != nil {
|
||||
t.Logf("Cache %v", resp)
|
||||
|
||||
Reference in New Issue
Block a user