fix qlogging of the remote address when dialing a new connection

This commit is contained in:
Marten Seemann
2020-04-20 14:30:28 +07:00
parent 02d869a28f
commit 4e4ccdb007
2 changed files with 2 additions and 2 deletions

View File

@@ -243,7 +243,7 @@ var _ = Describe("Client", func() {
sess.EXPECT().run()
return sess
}
qlogger.EXPECT().StartedConnection(gomock.Any(), gomock.Any(), protocol.VersionTLS, gomock.Any(), gomock.Any())
qlogger.EXPECT().StartedConnection(packetConn.addr, addr, protocol.VersionTLS, gomock.Any(), gomock.Any())
_, err := Dial(
packetConn,
addr,