Merge pull request #12 from zhuobixin/master

LocalAddr() should return local address
pull/2561/head
Xiaokang Wang 5 years ago committed by GitHub
commit e4ec9807a2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -198,7 +198,7 @@ func (c *udpConn) RemoteAddr() net.Addr {
}
func (c *udpConn) LocalAddr() net.Addr {
return c.remote
return c.local
}
func (*udpConn) SetDeadline(time.Time) error {

Loading…
Cancel
Save