parent
6ede312510
commit
f1ed6d89a5
|
@ -121,9 +121,13 @@ public class DpTechAbilityImpl implements DisposeAbility {
|
|||
return new MulReturnType<>(ErrorCode.ERR_UNSUPPORT, null);
|
||||
}
|
||||
|
||||
log.debug("DpTech startAbnormalTaskForUMC request: {}, {}, {}", disposeObject, attackType, nfDirection);
|
||||
|
||||
NtcRequestResultInfo ret = cleanTypePort.startAbnormalTaskForUMC(disposeObject, attackType,
|
||||
nfDirection.getValue());
|
||||
|
||||
log.debug("DpTech startAbnormalTaskForUMC response: {}", ret);
|
||||
|
||||
if (ret.getResultRetVal() != 0) {
|
||||
err = ErrorCode.ERR_CALLDEVICE;
|
||||
log.error("----Error DPTech Start Cleanup Task: {}, {}, {}, {}", disposeObject, nfDirection,
|
||||
|
@ -169,8 +173,11 @@ public class DpTechAbilityImpl implements DisposeAbility {
|
|||
return new MulReturnType<>(ErrorCode.ERR_UNSUPPORT, null);
|
||||
}
|
||||
|
||||
log.debug("DpTech stopAbnormalTaskForUMC request: {}, {}, {}", disposeObject, attackType, nfDirection);
|
||||
|
||||
NtcRequestResultInfo ret = cleanTypePort.stopAbnormalTaskForUMC(disposeObject, attackType,
|
||||
nfDirection.getValue());
|
||||
log.debug("DpTech stopAbnormalTaskForUMC response: {}", ret);
|
||||
|
||||
if (ret.getResultRetVal() != 0) {
|
||||
err = ErrorCode.ERR_CALLDEVICE;
|
||||
|
@ -250,6 +257,7 @@ public class DpTechAbilityImpl implements DisposeAbility {
|
|||
try {
|
||||
// 读取清洗设备支持的清洗IP范围
|
||||
ArrayOfProtectionObjectDataForService objs = cleanTypePort.getAllProtectionObjectFromUMC();
|
||||
log.debug("DpTech getAllProtectionObjectFromUMC response: {}", objs);
|
||||
// 将DPTech设备的IP格式转换成IP访问列表,支持IPv6,IPv4
|
||||
synchronized (this) {
|
||||
protectIpV4.clear();
|
||||
|
|
Loading…
Reference in New Issue