-
Notifications
You must be signed in to change notification settings - Fork 160
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
Remove snet.Addr #3644
Remove snet.Addr #3644
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 18 of 47 files at r1.
Reviewable status: 18 of 47 files reviewed, 1 unresolved discussion (waiting on @karampok and @lukedirtwalker)
go/lib/snet/snet.go, line 116 at r1 (raw file):
} snetConn := conn.(*SCIONConn) snetConn.remote = &UDPAddr{
It would be nice to add an actual Copy
function to *UDPAddr
and *SVCAddr
and use it here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 29 of 47 files at r1.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @lukedirtwalker)
Remove snet.Addr, and constructors for snet.SVCAddr and snet.UDPAddr, instead use the struct directly.
018f483
to
ed26f56
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @matzf)
go/lib/snet/snet.go, line 116 at r1 (raw file):
Previously, matzf (Matthias Frei) wrote…
It would be nice to add an actual
Copy
function to*UDPAddr
and*SVCAddr
and use it here.
Done.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 4 of 4 files at r2.
Reviewable status: complete! all files reviewed, all discussions resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewable status: complete! all files reviewed, all discussions resolved
Remove snet.Addr, and constructors for snet.SVCAddr and snet.UDPAddr, instead use the struct directly.
Contributes #3136
This change is