mirror of
https://github.com/pion/ice.git
synced 2025-10-29 09:52:48 +08:00
Update CI configs to v0.7.2
Update lint scripts and CI configs.
This commit is contained in:
2
util.go
2
util.go
@@ -218,7 +218,7 @@ func listenUDPInPortRange(vnet *vnet.Net, log logging.LeveledLogger, portMax, po
|
||||
laddr = &net.UDPAddr{IP: laddr.IP, Port: portCurrent}
|
||||
c, e := vnet.ListenUDP(network, laddr)
|
||||
if e == nil {
|
||||
return c, e
|
||||
return c, e //nolint:nilerr
|
||||
}
|
||||
log.Debugf("failed to listen %s: %v", laddr.String(), e)
|
||||
portCurrent++
|
||||
|
||||
Reference in New Issue
Block a user