fix test failure
This commit is contained in:
parent
478bf1c9ef
commit
7298be474d
|
@ -717,7 +717,7 @@ public class NettyTransport extends AbstractLifecycleComponent<Transport> implem
|
||||||
local.add("127.0.0.1");
|
local.add("127.0.0.1");
|
||||||
// check if v6 is supported, if so, v4 will also work via mapped addresses.
|
// check if v6 is supported, if so, v4 will also work via mapped addresses.
|
||||||
if (NetworkUtils.SUPPORTS_V6) {
|
if (NetworkUtils.SUPPORTS_V6) {
|
||||||
local.add("::1");
|
local.add("[::1]"); // may get ports appended!
|
||||||
}
|
}
|
||||||
return local;
|
return local;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue