Skip to content

Commit

Permalink
Merge pull request #165 from database64128/fix-missing-return
Browse files Browse the repository at this point in the history
Fix NetworksWithin
  • Loading branch information
oschwald authored Jan 20, 2025
2 parents 2fabca0 + fa198b8 commit 4ce5c4d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions traverse.go
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ func (r *Reader) NetworksWithin(prefix netip.Prefix, options ...NetworksOption)
prefixLen: uint8(bit),
err: fmt.Errorf("prefixing %s with %d", netIP, bit),
})
return
}

nodes := make([]netNode, 0, 64)
Expand Down

0 comments on commit 4ce5c4d

Please sign in to comment.