diff options
author | Martin Polden <mpolden@mpolden.no> | 2019-12-28 15:09:30 +0100 |
---|---|---|
committer | Martin Polden <mpolden@mpolden.no> | 2019-12-28 15:09:30 +0100 |
commit | 879b6c409aa9510cb27de0bce288ad1ea8b44006 (patch) | |
tree | b7a659f958faf00a93333a72195536467a94ce6a /dns/proxy_test.go | |
parent | 57ebed75974685799017552693618d001ae5c8a5 (diff) |
Log whether request was hijacked
Diffstat (limited to 'dns/proxy_test.go')
-rw-r--r-- | dns/proxy_test.go | 2 |
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 } |