This commit is contained in:
vongosling
2017-08-29 15:41:30 +08:00
parent 23b7d7a567
commit 38d70bd54c
@@ -379,7 +379,7 @@ public class MixAll {
}
}
//FIXME Reverse logic comparing to RemotingUtil method, consider refactor in RocketMQ 5.0
//Reverse logic comparing to RemotingUtil method, consider refactor in RocketMQ 5.0
public static String getLocalhostByNetworkInterface() throws SocketException {
List<String> candidatesHost = new ArrayList<String>();
Enumeration<NetworkInterface> enumeration = NetworkInterface.getNetworkInterfaces();