log the local address when starting a new connection in the client

This commit is contained in:
Marten Seemann
2017-06-16 13:33:23 +02:00
parent 2a2375f787
commit 99527cf3d4
2 changed files with 2 additions and 2 deletions

View File

@@ -29,7 +29,7 @@ var _ = Describe("Client", func() {
Eventually(areSessionsRunning).Should(BeFalse())
msess, _, _ := newMockSession(nil, 0, 0, nil, nil)
sess = msess.(*mockSession)
packetConn = &mockPacketConn{}
packetConn = &mockPacketConn{addr: &net.UDPAddr{IP: net.IPv4(127, 0, 0, 1), Port: 1234}}
config = &Config{
Versions: []protocol.VersionNumber{protocol.SupportedVersions[0], 77, 78},
}