(1)修复回调类IP转换提示不能为range的bug

(2)DDOS IP模板提交
(3)DDOS IP导入提交
(4)修复DDOS IP REGION CONFIG_IP_PORT_SHOW的值为3,4
This commit is contained in:
wangxin
2018-11-01 14:58:48 +08:00
parent 43fbee90a0
commit 70e8b207c5
15 changed files with 168 additions and 4 deletions

View File

@@ -980,7 +980,7 @@ public abstract class BaseService {
//ip转换为callback用ip
public InlineIp convertCallBackIp(BaseIpCfg cfg,Integer policyGroup){
List<IpCfg> cfgs = ipConvert(new IpCfg(),cfg);
if(cfgs.size()>0) {
if(cfgs.size()>1) {
throw new RuntimeException("CallBack IP did not support IP range!");
}
IpCfg c=cfgs.get(0);