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] #523

Open
christianfl opened this issue Oct 21, 2024 · 0 comments
Open

[Issue] #523

christianfl opened this issue Oct 21, 2024 · 0 comments

Comments

@christianfl
Copy link

Hello there! This is possibly a regression or the fix #484 did not work.

Describe the bug

Same as #473

Quote:

I expect, if I filter input using the -fi command, and then aggregate with -a to the minimum number of subnets, that the subnets generated would match the output given if -a is not provided. However, the filtered IPs are added back in after aggregating.

Mapcidr version

[INF] Current Version: v1.1.62

Complete command you used to reproduce this

# Command 1:

❯ mapcidr -silent -cl 10.0.0.0/30 -fi 10.0.0.1 -a
10.0.0.0/30

# Command 2:

❯ mapcidr -silent -cl 10.0.0.0/30 -fi 10.0.0.1 | mapcidr -silent -a
10.0.0.0/32
10.0.0.2/31

Describe the bug

To my understanding, both commands should output the same as Command 2.

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