rgoers commented on a change in pull request #608:
URL: https://github.com/apache/logging-log4j2/pull/608#discussion_r759845982
##########
File path:
log4j-core/src/main/java/org/apache/logging/log4j/core/util/NetUtils.java
##########
@@ -79,6 +84,45 @@ public static String getLocalHostname() {
}
}
+ public static List<String> getLocalIps() {
+ List<String> localIps = new ArrayList<>();
+ localIps.add("localhost");
+ localIps.add("127.0.0.1");
Review comment:
I could have but this pre-seeding really isn't necessary as they show up
in the while loop anyway.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]