MarsOu1995 commented on a change in pull request #1656:
URL: https://github.com/apache/incubator-shenyu/pull/1656#discussion_r655489231



##########
File path: 
shenyu-common/src/main/java/org/apache/shenyu/common/utils/IpUtils.java
##########
@@ -34,6 +34,18 @@ private IpUtils() {
      * @return the host
      */
     public static String getHost() {
+        return getHost(null);
+    }
+
+    /**
+     * Gets host.
+     *
+     * @param preferred host preferred str
+     * @return the host
+     */
+    public static String getHost(final String preferred) {

Review comment:
       yes.




-- 
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.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to