IPv6, non-CIDR, multiple addresses, ...#9
Closed
Mon4ik wants to merge 11 commits into
Closed
Conversation
…est to root [1] - if prefix is either /32 or /128
BREAKING CHANGE: `Peer::to_interface()` now requires second argument of `ToInterfaceOptions`. With them, you can specify to add to generated interface default gateway or persistent keepalive
Mon4ik
added a commit
that referenced
this pull request
Nov 20, 2025
) * feat: ipv6 and multiple addresses support, rust-overlay (for nix) * feat: `add_network` and `add_address` for `InterfaceBuilder`, `as_ipaddr!()` macro * feat: generate `Address = ...` without prefix[1], tests, moved ipv6 test to root [1] - if prefix is either /32 or /128 * feat(nix): direnv * feat!: updated `Peer::to_interface()` signature, tests BREAKING CHANGE: `Peer::to_interface()` now requires second argument of `ToInterfaceOptions`. With them, you can specify to add to generated interface default gateway or persistent keepalive * test: completely restructured tests * docs: `MIGRATION.md` * feat: re-export `ipnet`, update documentation, add `just` to `flake.nix` * ci: add all features and targets
Contributor
Author
|
Merged (f013b1f) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Peer::allowed_ipsalso support IPv6 addresses. #8 &Interface::addressalso support IPv6 addresses. #7)Interface::address's CIDR is optional. #6)Make new function for generating client interface from client peer & server interface (with options)Updated signature of.to_interfaceto include options.MIGRATION.mdipnet