This commit is contained in:
clem1 2014-04-06 23:27:28 +02:00
parent 1a9907bfe4
commit 06a1da17cf
1 changed files with 2 additions and 2 deletions

View File

@ -136,11 +136,11 @@ func (m *mockNetConn) Close() error {
}
func (m *mockNetConn) LocalAddr() net.Addr {
return &net.IPAddr{net.IPv4(127, 0, 0, 1)}
return &net.IPAddr{IP: net.IPv4(127, 0, 0, 1)}
}
func (m *mockNetConn) RemoteAddr() net.Addr {
return &net.IPAddr{net.IPv4(127, 0, 0, 1)}
return &net.IPAddr{IP: net.IPv4(127, 0, 0, 1)}
}
func (m *mockNetConn) SetDeadline(t time.Time) error {