mirror of
https://github.com/soypat/lneto.git
synced 2026-09-11 00:59:30 +00:00
chore: bump minimum Go version to 1.24 (#85)
Signed-off-by: Marvin Drees <marvin.drees@9elements.com>
This commit is contained in:
@@ -532,7 +532,7 @@ func testStackSeeded(t *testing.T, seed1, seed2 int64) {
|
||||
// Hard ceiling prevents infinite send loops from passing silently.
|
||||
// Also send drained packet to other stack to also catch infinite feedback loops.
|
||||
const drainLimit = 8
|
||||
for d := 0; d < drainLimit; d++ {
|
||||
for d := range drainLimit {
|
||||
limit := d == drainLimit-1
|
||||
n, err := first.EgressEthernet(buf[:])
|
||||
if (err != nil || n > 0) && limit {
|
||||
|
||||
Reference in New Issue
Block a user