Skip to content

Conversation

@gubaojian
Copy link
Contributor

check the prefix convert ip6 back to ip4 if ip is ip4。
getRemoteAddressAsText() will return ip6 address event ip is ip4.
test 127.0.0.1 be convert to 0000:0000:0000:0000:0000:ffff:7f00:0001
test 192.168.71.87 be convert to 0000:0000:0000:0000:0000:ffff:c0a8:4757

the above will convert ip6 to ip4 if the address is ip4. and fix the issues.

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.

1 participant