Skip to content

Conversation

@wojcik91
Copy link
Contributor

@wojcik91 wojcik91 commented Aug 5, 2025

Change approach to merging subnets to limit code duplication with core.

This leverages the fact that addresses coming from core are already sorted and non-overlapping.

@wojcik91 wojcik91 requested a review from t-aleksander August 5, 2025 14:08
@wojcik91 wojcik91 self-assigned this Aug 5, 2025
@wojcik91 wojcik91 merged commit 605041d into acl-patch Aug 5, 2025
@wojcik91 wojcik91 deleted the merge_subnets_for_nft branch August 5, 2025 14:15
wojcik91 added a commit that referenced this pull request Aug 6, 2025
* restore merging of ips

* merge adjacent subnets for nft (#185)

* merge adjacent elements

* update new tests

* linter fixes

* linter fix

* review fixes

---------

Co-authored-by: Maciek <[email protected]>
Co-authored-by: Maciej Wójcik <[email protected]>
Co-authored-by: Maciej Wójcik <[email protected]>
wojcik91 added a commit that referenced this pull request Aug 6, 2025
* restore merging of ips

* merge adjacent subnets for nft (#185)

* merge adjacent elements

* update new tests

* linter fixes

* linter fix

* review fixes

---------

Co-authored-by: Aleksander <[email protected]>
wojcik91 added a commit that referenced this pull request Sep 10, 2025
* Merge adjacent IP subnets into ranges for nftables  (#182)

* restore merging of ips

* merge adjacent subnets for nft (#185)

* merge adjacent elements

* update new tests

* linter fixes

* linter fix

* review fixes

---------

Co-authored-by: Maciek <[email protected]>
Co-authored-by: Maciej Wójcik <[email protected]>
Co-authored-by: Maciej Wójcik <[email protected]>

* bump version (#188)

* update dependencies

* update protos

* update core dependency

---------

Co-authored-by: Aleksander <[email protected]>
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.

3 participants