Fix ivp4 typo that broke all tests (#9216)

This commit is contained in:
Mateusz Rzeszutek 2023-08-16 13:12:06 +02:00 committed by GitHub
parent b7baf0dcd8
commit 31b90b1463
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ public final class InetSocketAddressUtil {
}
InetAddress remoteAddress = address.getAddress();
if (remoteAddress instanceof Inet4Address) {
return "ipv6";
return "ipv4";
} else if (remoteAddress instanceof Inet6Address) {
return "ipv6";
}