@@ -39,7 +39,7 @@ func IncludeAliasedNetworks(networks *networkOptions) {
39
39
// Please note that a MaxMind DB may map IPv4 networks into several locations
40
40
// in an IPv6 database. This iterator will only iterate over these once by
41
41
// default. To iterate over all the IPv4 network locations, use the
42
- // IncludeAliasedNetworks option.
42
+ // [ IncludeAliasedNetworks] option.
43
43
func (r * Reader ) Networks (options ... NetworksOption ) iter.Seq [Result ] {
44
44
if r .Metadata .IPVersion == 6 {
45
45
return r .NetworksWithin (allIPv6 , options ... )
@@ -51,9 +51,9 @@ func (r *Reader) Networks(options ...NetworksOption) iter.Seq[Result] {
51
51
// in the database which are contained in a given prefix.
52
52
//
53
53
// Please note that a MaxMind DB may map IPv4 networks into several locations
54
- // in an IPv6 database. This iterator will iterate over all of these locations
55
- // separately . To only iterate over the IPv4 networks once , use the
56
- // SkipAliasedNetworks option.
54
+ // in an IPv6 database. This iterator will only iterate over these once by
55
+ // default . To iterate over all the IPv4 network locations , use the
56
+ // [IncludeAliasedNetworks] option.
57
57
//
58
58
// If the provided prefix is contained within a network in the database, the
59
59
// iterator will iterate over exactly one network, the containing network.
0 commit comments