Skip to content
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

Fix loopback address display for IPv6 #866

Closed
wants to merge 1 commit into from

Conversation

rockbmb
Copy link

@rockbmb rockbmb commented Dec 11, 2024

In IPv6, the loopback address is ::1, short for 0000:0000:0000:0000:0000:0000:0000:0001.
Before this commit, it was displayed as ::, which is short for 0000:0000:0000:0000:0000:0000:0000:0000 - not the same addresses.

See RFC 4219 for IPv6.

In IPv6, the loopback address is `::1`, short for
`0000:0000:0000:0000:0000:0000:0000:0001`.

Before this commit, it was displayed as `::`, which is short for
`0000:0000:0000:0000:0000:0000:0000:0000` - not the same addresses.
@xlc
Copy link
Member

xlc commented Dec 11, 2024

it is displaying the listen address, and in the case it is listening on the unspecified address, it should display as it is?

@rockbmb
Copy link
Author

rockbmb commented Dec 11, 2024

@xlc this was a misunderstanding on my part - I assumed the behavior should be the same as when it displayed IPv4's localhost for use in PJS.

@rockbmb rockbmb closed this Dec 11, 2024
@rockbmb rockbmb deleted the ipv6-loopback-fix branch December 12, 2024 00:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants