Remove all listeners from IPv6 interface

This commit is contained in:
Alexey Khit
2023-07-17 12:53:34 +03:00
parent 14ed1cdee8
commit e4b68518e5
5 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -45,7 +45,7 @@ func Init() {
return
}
ln, err := net.Listen("tcp", address)
ln, err := net.Listen("tcp4", address)
if err != nil {
log.Error().Err(err).Msg("[rtsp] listen")
return