Fix ivp4 typo that broke all tests (#9216)
This commit is contained in:
parent
b7baf0dcd8
commit
31b90b1463
|
@ -44,7 +44,7 @@ public final class InetSocketAddressUtil {
|
||||||
}
|
}
|
||||||
InetAddress remoteAddress = address.getAddress();
|
InetAddress remoteAddress = address.getAddress();
|
||||||
if (remoteAddress instanceof Inet4Address) {
|
if (remoteAddress instanceof Inet4Address) {
|
||||||
return "ipv6";
|
return "ipv4";
|
||||||
} else if (remoteAddress instanceof Inet6Address) {
|
} else if (remoteAddress instanceof Inet6Address) {
|
||||||
return "ipv6";
|
return "ipv6";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue