summaryrefslogtreecommitdiffhomepage
path: root/pkg/tcpip/adapters/gonet/gonet.go
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2020-01-22 21:47:46 +0000
committergVisor bot <gvisor-bot@google.com>2020-01-22 21:47:46 +0000
commit033b187ab99fdd1b7f9d38bbbeec2c62842b0d45 (patch)
treee12926a50097e663610c7ebbd999220cb40747db /pkg/tcpip/adapters/gonet/gonet.go
parenta5d71b6b3ff4f91d06dca8dc0d674379d0832882 (diff)
parent0e7f4172931e1d7517b49deeb2d134704443320c (diff)
Merge release-20200115.0-74-g0e7f417 (automated)
Diffstat (limited to 'pkg/tcpip/adapters/gonet/gonet.go')
-rwxr-xr-xpkg/tcpip/adapters/gonet/gonet.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/tcpip/adapters/gonet/gonet.go b/pkg/tcpip/adapters/gonet/gonet.go
index a2f44b496..3bba4028b 100755
--- a/pkg/tcpip/adapters/gonet/gonet.go
+++ b/pkg/tcpip/adapters/gonet/gonet.go
@@ -622,7 +622,7 @@ func (c *PacketConn) RemoteAddr() net.Addr {
if err != nil {
return nil
}
- return fullToTCPAddr(a)
+ return fullToUDPAddr(a)
}
// Read implements net.Conn.Read