all: upd go, chlog, tools

This commit is contained in:
Ainar Garipov
2022-04-06 18:27:21 +03:00
parent b2052f2ef1
commit d17c6c6bb3
22 changed files with 389 additions and 189 deletions

View File

@@ -306,7 +306,7 @@ func assertLogEntry(t *testing.T, entry *logEntry, host string, answer, client n
require.NoError(t, msg.Unpack(entry.Answer))
require.Len(t, msg.Answer, 1)
ip := proxyutil.GetIPFromDNSRecord(msg.Answer[0]).To16()
ip := proxyutil.IPFromRR(msg.Answer[0]).To16()
assert.Equal(t, answer, ip)
}