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

Issue with CIDR sorting. #2

Open
mfrakka opened this issue Jul 10, 2019 · 0 comments
Open

Issue with CIDR sorting. #2

mfrakka opened this issue Jul 10, 2019 · 0 comments

Comments

@mfrakka
Copy link

mfrakka commented Jul 10, 2019

Hi, this is my very first post on GitHub su, please, forgive me any fault. Thank you for your work, I found this module very useful.

But I noticed that the "end.reverse" at line 26 in cidr_facts.rb should be wrong: In this way CIDR mask are evaluated as "wider wins" instead of "tight wins" (using "end.reverse" a CIDR mask /8 take precedence over a /32, for example).
Am I wrong?

Regards.

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

No branches or pull requests

1 participant