Merge pull request #1631 from majek:fix-gonet-udp.RemoteAddr
PiperOrigin-RevId: 291019296
This commit is contained in:
commit
0e7f417293
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue