Skip to content

Commit

Permalink
Typo
Browse files Browse the repository at this point in the history
  • Loading branch information
ipfreely-uk committed Sep 27, 2024
1 parent e8c568f commit 1795fa3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ip/ipset/subnets_example_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ func ExampleSubnets() {
netAddr, bits, _ := ipset.ParseCIDRNotation(ip.V4(), "203.0.113.0/24")
block := ipset.NewBlock(netAddr, bits)

println(fmt.Sprintf("Divinding %s", block.CidrNotation()))
println(fmt.Sprintf("Dividing %s", block.CidrNotation()))
nextSub := ipset.Subnets(block, mask)
for sub, exists := nextSub(); exists; sub, exists = nextSub() {
println(sub.String())
Expand Down

0 comments on commit 1795fa3

Please sign in to comment.