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 f9895d1 commit a547b78
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 @@ -271,7 +271,7 @@ func (r *UDPReceiver) Start(addr string, port int, decodeFunc DecoderFunc) error
if err := r.decoders(r.workers, decodeFunc); err != nil {
return err
}
if err := r.receivers(r.workers, addr, port); err != nil {
if err := r.receivers(r.sockets, addr, port); err != nil {
return err
}
return nil
Expand Down

0 comments on commit a547b78

Please sign in to comment.