support go 1.18

This commit is contained in:
aler9
2022-04-07 12:28:00 +02:00
committed by Alessandro Ros
parent 6c6c6c68c9
commit 9d12c345f8
15 changed files with 33 additions and 19 deletions

View File

@@ -81,7 +81,8 @@ func newServerUDPListener(
s *Server,
multicast bool,
address string,
isRTP bool) (*serverUDPListener, error) {
isRTP bool,
) (*serverUDPListener, error) {
var pc *net.UDPConn
var listenIP net.IP
if multicast {