增加hostname方式
This commit is contained in:
parent
01feb230a3
commit
2ede41f3e8
@ -78,7 +78,7 @@ public class InetUtils {
|
||||
preferHostnameOverIp = Boolean.getBoolean(SYSTEM_PREFER_HOSTNAME_OVER_IP);
|
||||
|
||||
if (!preferHostnameOverIp) {
|
||||
preferHostnameOverIp = Boolean.parseBoolean(PREFER_HOSTNAME_OVER_IP);
|
||||
preferHostnameOverIp = Boolean.parseBoolean(PropertyUtil.getProperty(PREFER_HOSTNAME_OVER_IP));
|
||||
}
|
||||
|
||||
if (preferHostnameOverIp) {
|
||||
|
Loading…
Reference in New Issue
Block a user