aboutsummaryrefslogtreecommitdiffstats
path: root/dns/proxy_test.go
diff options
context:
space:
mode:
authorMartin Polden <mpolden@mpolden.no>2019-12-28 15:09:30 +0100
committerMartin Polden <mpolden@mpolden.no>2019-12-28 15:09:30 +0100
commit879b6c409aa9510cb27de0bce288ad1ea8b44006 (patch)
treeb7a659f958faf00a93333a72195536467a94ce6a /dns/proxy_test.go
parent57ebed75974685799017552693618d001ae5c8a5 (diff)
Log whether request was hijacked
Diffstat (limited to 'dns/proxy_test.go')
-rw-r--r--dns/proxy_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/dns/proxy_test.go b/dns/proxy_test.go
index 4069dd3..003430d 100644
--- a/dns/proxy_test.go
+++ b/dns/proxy_test.go
@@ -55,7 +55,7 @@ type testLogger struct {
func (l *testLogger) Close() error { return nil }
func (l *testLogger) Printf(format string, v ...interface{}) {}
-func (l *testLogger) Record(remoteAddr net.IP, qtype uint16, question string, answers ...string) {
+func (l *testLogger) Record(remoteAddr net.IP, hijacked bool, qtype uint16, question string, answers ...string) {
l.question = question
l.remoteAddr = remoteAddr
}