parent
a10eb88f65
commit
66fcaaeafc
2 changed files with 3 additions and 3 deletions
|
@ -42,10 +42,10 @@ func (w *writer) Dnstap(e tap.Dnstap) {
|
|||
got := e.Message
|
||||
|
||||
if string(ex.QueryAddress) != string(got.QueryAddress) {
|
||||
w.t.Errorf("Expected source adress %s, got %s", ex.QueryAddress, got.QueryAddress)
|
||||
w.t.Errorf("Expected source address %s, got %s", ex.QueryAddress, got.QueryAddress)
|
||||
}
|
||||
if string(ex.ResponseAddress) != string(got.ResponseAddress) {
|
||||
w.t.Errorf("Expected response adress %s, got %s", ex.ResponseAddress, got.ResponseAddress)
|
||||
w.t.Errorf("Expected response address %s, got %s", ex.ResponseAddress, got.ResponseAddress)
|
||||
}
|
||||
if *ex.QueryPort != *got.QueryPort {
|
||||
w.t.Errorf("Expected port %d, got %d", *ex.QueryPort, *got.QueryPort)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue