Merge branch 'master' of git.komect.net:DDOSAQ/phoenix_ddos_handle

This commit is contained in:
chenlinghy 2020-05-11 10:57:50 +08:00
commit 30f3889339
1 changed files with 5 additions and 5 deletions

View File

@ -248,17 +248,17 @@ public class DPTechImpl implements DisposeEntryManager {
}
try {
log.info("++++Begging DPTech Start Cleanup Task: {}", ipAddr);
log.info("++++Begging DPTech Stop Cleanup Task: {}", ipAddr);
// 遍历入口出口两个方向
for (int d : new int[]{0, 1}) {
// 遍历所有攻击类型的清洗任务
for (DpTechAttackType t : DpTechAttackType.values()) {
NtcRequestResultInfo ret = cleanTypePort.stopAbnormalTaskForUMC(ipAddr, t.getCode(), d);
if (ret.getResultRetVal() != ErrorCode.ERR_OK.getCode()) {
log.error("Start {} cleanup task error: {}", ipAddr, ret.getResultInfo());
return ErrorCode.ERR_CALLDEVICE;
}
// if (ret.getResultRetVal() != ErrorCode.ERR_OK.getCode()) {
// log.error("Stop {} cleanup task error: {}", ipAddr, ret.getResultInfo());
// return ErrorCode.ERR_CALLDEVICE;
// }
}
}