Skip to content

Conversation

@jonatack
Copy link
Member

// which does not support scoped ids and instead returns the address in a
// different format as "fe80:0:0:0:0:0:0:1" without the zone id.
const std::string link_local{"fe80::1"};
const std::string scoped_addr{link_local + "%32"};
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't really know this code but isn't the "e.g. 32" comment still relevant to this line?

Copy link
Member Author

@jonatack jonatack May 17, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks. I don't think so, since #21689 removed the test it referred to. And now since the merge of #21756 today, the rest is out of date too because we no longer return zone ids (discussion in issue #21982).

@jonatack jonatack closed this May 17, 2021
@jonatack
Copy link
Member Author

Closing as we no longer return any scoped ids. There is still a line of orphaned documentation but probably no one will notice.

laanwj added a commit that referenced this pull request May 19, 2021
6c280ad net: Return IPv6 scope id in `CNetAddr::ToStringIP()` (W. J. van der Laan)

Pull request description:

  If a scope id is provided, return it back in the string representation. Also bring back the test (now in platform independent fashion). Closes #21982. Includes #21961 (apart from the MacOS remark).

ACKs for top commit:
  practicalswift:
    cr ACK 6c280ad

Tree-SHA512: 77792c35679b6c3545fd3a8d3d74c4f515ac2ee9f02d983251aeaaac715d55c122bbb0141abbeac272011f15520b439bd2db4ec8541a58df9b366921d212ca5f
sidhujag pushed a commit to syscoin/syscoin that referenced this pull request May 19, 2021
…IP()`

6c280ad net: Return IPv6 scope id in `CNetAddr::ToStringIP()` (W. J. van der Laan)

Pull request description:

  If a scope id is provided, return it back in the string representation. Also bring back the test (now in platform independent fashion). Closes bitcoin#21982. Includes bitcoin#21961 (apart from the MacOS remark).

ACKs for top commit:
  practicalswift:
    cr ACK 6c280ad

Tree-SHA512: 77792c35679b6c3545fd3a8d3d74c4f515ac2ee9f02d983251aeaaac715d55c122bbb0141abbeac272011f15520b439bd2db4ec8541a58df9b366921d212ca5f
@bitcoin bitcoin locked as resolved and limited conversation to collaborators Aug 16, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants