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

feat(tcp): Support ip6zone Multiaddr protocol #1

Open
wants to merge 3 commits into
base: quic-ip6-zone
Choose a base branch
from

Conversation

umgefahren
Copy link

No description provided.

@umgefahren umgefahren self-assigned this Oct 2, 2024
@umgefahren umgefahren changed the title Support ip6zone Multiaddr protocol feat(tcp): Support ip6zone Multiaddr protocol Oct 2, 2024
Comment on lines +117 to +118
if socket_addr.ip().is_ipv4() == socket_addr.ip().is_ipv4()
&& socket_addr.ip().is_loopback() == socket_addr.ip().is_loopback()

Choose a reason for hiding this comment

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

Suggested change
if socket_addr.ip().is_ipv4() == socket_addr.ip().is_ipv4()
&& socket_addr.ip().is_loopback() == socket_addr.ip().is_loopback()
if socket_addr.ip().is_ipv4() == remote_ip.is_ipv4()
&& socket_addr.ip().is_loopback() == remote_ip.is_loopback()

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