diff --git a/servertcp.go b/servertcp.go index 2ebc37cc..e8341b14 100644 --- a/servertcp.go +++ b/servertcp.go @@ -30,7 +30,7 @@ func newServerTCP(p *program) (*serverTCP, error) { } func (l *serverTCP) log(format string, args ...interface{}) { - l.p.log("[TCP listener] "+format, args...) + l.p.log("[TCP server] "+format, args...) } func (l *serverTCP) run() { diff --git a/serverudp.go b/serverudp.go index 81cdaae8..bd2a1cb5 100644 --- a/serverudp.go +++ b/serverudp.go @@ -51,7 +51,7 @@ func (l *serverUDP) log(format string, args ...interface{}) { } else { label = "RTCP" } - l.p.log("[UDP/"+label+" listener] "+format, args...) + l.p.log("[UDP/"+label+" server] "+format, args...) } func (l *serverUDP) run() {