Skip to content

Commit

Permalink
use sockets count
Browse files Browse the repository at this point in the history
  • Loading branch information
lspgn committed May 19, 2024
1 parent 9fc1d30 commit 3b13f8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/udp.go
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ func (r *UDPReceiver) Start(addr string, port int, decodeFunc DecoderFunc) error
r.Stop()
return err
}
if err := r.receivers(r.workers, addr, port); err != nil {
if err := r.receivers(r.sockets, addr, port); err != nil {
r.Stop()
return err
}
Expand Down

0 comments on commit 3b13f8f

Please sign in to comment.