Skip to content

Commit

Permalink
[issue_377][Taier-common] fix docker ip #377
Browse files Browse the repository at this point in the history
  • Loading branch information
vainhope committed Apr 20, 2022
1 parent 85bab08 commit d7a4265
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ private static boolean isSpecialIp(String ip) {
if (ip.contains(":")) {return true;}
if (ip.startsWith("127.")) {return true;}
if (ip.startsWith("169.254.")) {return true;}
if (ip.startsWith("172.17.")) {return true;}
if ("255.255.255.255".equals(ip)) {return true;}
return false;
}
Expand Down

0 comments on commit d7a4265

Please sign in to comment.