Merge branch 'master' of git.komect.net:DDOSAQ/phoenix_ddos_handle
This commit is contained in:
commit
30f3889339
|
@ -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;
|
||||
// }
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue