mirror of
https://github.com/pion/webrtc.git
synced 2025-12-24 11:51:03 +08:00
Fix wrong stub comments
This commit is contained in:
@@ -70,12 +70,12 @@ func (e *Endpoint) WriteTo(p []byte, _ net.Addr) (int, error) {
|
||||
return e.Write(p)
|
||||
}
|
||||
|
||||
// LocalAddr is a stub.
|
||||
// LocalAddr returns the local network address, if known.
|
||||
func (e *Endpoint) LocalAddr() net.Addr {
|
||||
return e.mux.nextConn.LocalAddr()
|
||||
}
|
||||
|
||||
// RemoteAddr is a stub.
|
||||
// RemoteAddr returns the remote network address, if known.
|
||||
func (e *Endpoint) RemoteAddr() net.Addr {
|
||||
return e.mux.nextConn.RemoteAddr()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user