Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: netmask #2

Closed
marcbrevoort-cyberhive opened this issue Jan 25, 2022 · 2 comments
Closed

Feature request: netmask #2

marcbrevoort-cyberhive opened this issue Jan 25, 2022 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@marcbrevoort-cyberhive
Copy link

Nice one. Would it be possible to add the netmask to the interface structure?

@shellrow shellrow added the enhancement New feature or request label Jan 26, 2022
@shellrow shellrow self-assigned this Jan 26, 2022
@shellrow
Copy link
Owner

Thank you for feature request.
There is no problem with adding netmask.
I'll add it after reviewing the interface related implementation.

shellrow added a commit that referenced this issue Jan 29, 2022
Fields: addr, prefix_len, and netmask
shellrow added a commit that referenced this issue Jan 29, 2022
@shellrow
Copy link
Owner

v0.8.0 is now available.
ipv4 and ipv6 fields of Interface structure have been changed to Vec<Ipv4Net> and Vec<Ipv6Net>.
IP address, prefix length, and netmask fields are available in Ipv4Net and Ipv6Net structures.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants