Closed akokhanovskyi closed 3 years ago
Looks like the no-copy of the ip
leads to a data race in golang 1.15. It doesn't in 1.13 - not yet sure why, but I reverted the change for now.
@trustmaster please consider squashing on merge so that there is no broken revision in the master.
Merged! Thanks a lot for the contribution!
errcheck
only fails in tests, so enabled elsewhereinefassign
only had one issue, fixed by returning an errorsendIIPs()
while I was at it (keep normal flow indentation at minimum by handling error conditions early; do not use iterating variables in a goroutine, which is unsafe)