Commit d9467e6c authored by 技术部-任文超's avatar 技术部-任文超

白名单增加172.41网段,为3B的Docker网段

parent e773bb34
...@@ -23,11 +23,12 @@ public class IPUtil { ...@@ -23,11 +23,12 @@ public class IPUtil {
* 172.16.0.0/16 - 公有云正式业务 * 172.16.0.0/16 - 公有云正式业务
* 172.20.0.0/16 - 3B私有云 * 172.20.0.0/16 - 3B私有云
* 172.30.0.0/16 - 3C私有云 * 172.30.0.0/16 - 3C私有云
* 172.41.0.0/16 - 3B,docker内网
*/ */
private static final Set<String> WHITE_ADDRESS = Sets.newHashSet(); private static final Set<String> WHITE_ADDRESS = Sets.newHashSet();
private static final String LOCAL_ADDRESS = "127.0.0.1"; private static final String LOCAL_ADDRESS = "127.0.0.1";
static { static {
String[] ips = {"172.16.", "172.20.", "172.30.", "192.168.3.", "192.168.4."}; String[] ips = {"172.16.", "172.20.", "172.30.", "172.41.", "192.168.3.", "192.168.4."};
WHITE_ADDRESS.addAll(Arrays.asList(ips)); WHITE_ADDRESS.addAll(Arrays.asList(ips));
//系统环境 //系统环境
if(!TechEnvironment.isPro()){ if(!TechEnvironment.isPro()){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment