Skip to content

Commit fa198b8

Browse files
committed
Fix NetworksWithin
1 parent 2fabca0 commit fa198b8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

traverse.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ func (r *Reader) NetworksWithin(prefix netip.Prefix, options ...NetworksOption)
104104
prefixLen: uint8(bit),
105105
err: fmt.Errorf("prefixing %s with %d", netIP, bit),
106106
})
107+
return
107108
}
108109

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

0 commit comments

Comments
 (0)