Skip to content

Conversation

@antoniovl
Copy link

Two methods were added to find the netmask of an IP address, both are based in the findAddressInTree() method found on the Reader struct.

  • Netmask() returns the netmask value along with any errors found. Heavily based on findAddressInTree().
  • LookupOffsetWithNetmask() adds an additional return value with the netmask value.

Both methods are suited for NS1's needs but we think they may be useful.

@oschwald
Copy link
Owner

#59 accomplishes this same goal in a bit different way. I am closing in favor of that.

@oschwald oschwald closed this Aug 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants