DNS reject增加策略分组功能
This commit is contained in:
@@ -157,7 +157,7 @@ public class IpCfgService extends CrudService<IpCfgDao,BaseIpCfg> {
|
||||
if(cfg.getIsAudit()==1){
|
||||
if(Constants.DROP_ACTION==cfg.getAction()||Constants.LOOP_ACTION==cfg.getAction()){
|
||||
List<InlineIp> ipList=new ArrayList<>();
|
||||
InlineIp ip=convertCallBackIp(cfg);
|
||||
InlineIp ip=convertCallBackIp(cfg,null);
|
||||
ipList.add(ip);
|
||||
//调用服务接口下发配置数据
|
||||
json=gsonToJson(ipList);
|
||||
@@ -215,7 +215,7 @@ public class IpCfgService extends CrudService<IpCfgDao,BaseIpCfg> {
|
||||
}else if(cfg.getIsAudit()==3){
|
||||
if(Constants.DROP_ACTION==cfg.getAction()||Constants.LOOP_ACTION==cfg.getAction()){
|
||||
List<InlineIp> ipList=new ArrayList<>();
|
||||
InlineIp ip=convertCallBackIp(cfg);
|
||||
InlineIp ip=convertCallBackIp(cfg,null);
|
||||
ipList.add(ip);
|
||||
//调用服务接口取消配置
|
||||
json=gsonToJson(ipList);
|
||||
|
||||
Reference in New Issue
Block a user