Skip to content

Commit

Permalink
Merge pull request #7 from projectdiscovery/bugfix-doc-example
Browse files Browse the repository at this point in the history
correcting function name
  • Loading branch information
ehsandeep committed Dec 29, 2020
2 parents 701d3b2 + f94d1b8 commit b3e9f4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ func main() {
}

// List all ips in the CIDR
ips, _ := mapcidr.Ips("192.168.1.0/24")
ips, _ := mapcidr.IPAddresses("192.168.1.0/24")
for _, ip := range ips {
fmt.Println(ip)
}
Expand Down

0 comments on commit b3e9f4b

Please sign in to comment.