Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Support literal IPv6 addresses#22

Open
ferrous26 wants to merge 1 commit into
github:master from
Marketcircle:fix/ipv6-literals
Open

Support literal IPv6 addresses #22
ferrous26 wants to merge 1 commit into
github:master from
Marketcircle:fix/ipv6-literals

Conversation

@ferrous26

@ferrous26 ferrous26 commented Dec 3, 2016

Copy link
Copy Markdown

Splitting an address by semicolons doesn't work properly for IPv6 addresses which usually use semicolons as the (double) octet separator. However, an IPv6 address will contain at least 2 semicolons, so this simple change should allow existing stuff to continue working.

However, it doesn't support the case where the address is IPv6 literal and also contains a port. However, in that Addrinfo also doesn't work, so I'm not sure how legitimate that case is.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

AltStyle によって変換されたページ (->オリジナル) /