Skip to content

merge adjacent subnets for nft#185

Merged
wojcik91 merged 2 commits intoacl-patchfrom
merge_subnets_for_nft
Aug 5, 2025
Merged

merge adjacent subnets for nft#185
wojcik91 merged 2 commits intoacl-patchfrom
merge_subnets_for_nft

Conversation

@wojcik91
Copy link
Copy Markdown
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 <19913370+wojcik91@users.noreply.github.com>
Co-authored-by: Maciej Wójcik <maciek@wjck.pl>
Co-authored-by: Maciej Wójcik <maciej@defguard.net>
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 <170264518+t-aleksander@users.noreply.github.com>
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 <19913370+wojcik91@users.noreply.github.com>
Co-authored-by: Maciej Wójcik <maciek@wjck.pl>
Co-authored-by: Maciej Wójcik <maciej@defguard.net>

* bump version (#188)

* update dependencies

* update protos

* update core dependency

---------

Co-authored-by: Aleksander <170264518+t-aleksander@users.noreply.github.com>
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