Merge pull request #1631 from majek:fix-gonet-udp.RemoteAddr

PiperOrigin-RevId: 291019296
This commit is contained in:
gVisor bot 2020-01-22 13:35:07 -08:00
commit 0e7f417293
1 changed files with 1 additions and 1 deletions

View File

@ -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