Make IP address validation lazier#668
Open
mkeeter wants to merge 2 commits into
Open
Conversation
labbott
approved these changes
May 18, 2026
Contributor
labbott
left a comment
There was a problem hiding this comment.
LGTM, you may want reviews from those who might have strong opinions about thiserror shaped things
0703187 to
9bee966
Compare
914a821 to
8bc7cfb
Compare
9bee966 to
5be72a2
Compare
8bc7cfb to
9b7da57
Compare
3d3115f to
39bea87
Compare
9b7da57 to
1cefecd
Compare
39bea87 to
8e6b788
Compare
1cefecd to
9474cbb
Compare
8e6b788 to
925eafc
Compare
8c8ab59 to
d462926
Compare
925eafc to
1d1f33d
Compare
d462926 to
9029fba
Compare
1d1f33d to
03a5bbb
Compare
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.
(Staged on #666)
This PR makes validation of the
--ipargument lazier: we now store aResult<ScopedV6Addr, ScopedV6AddrError>, and only require it to be valid when it's actually used.Fixes #609