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:
parent
d679f2e7d0
commit
d60ce0c8d4
4 changed files with 14 additions and 8 deletions
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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue