remove IPPort.WithIP, IPPort.WithPort?
josharian opened this issue · 3 comments
josharian commented
These were useful as shims while updating Tailscale to use the opaque IPPort. They're a bit ugly, though. Should we remove them prior to upstreaming?
jzelinskie commented
Did you just replace those calls with netaddr.IPPortFrom()
?
josharian commented
Did you just replace those calls with netaddr.IPPortFrom()?
I haven't done it yet. The fix would be a combination of two things. In some places, explicitly tracking an IP and a port. In others, replacing with IPPortFrom.
josharian commented
Upstreaming of IPPort (as AddrPort) is complete; these got cut.