REM:
1.修改迪普设备防护对象类型判断
This commit is contained in:
chenlinghy 2021-01-14 15:10:46 +08:00
parent 3625cf0069
commit 8036cc1f90
1 changed files with 1 additions and 1 deletions

View File

@ -165,7 +165,7 @@ public class DpTechBypassAbilityImpl extends DpTechAbilityImpl {
.cleanupDevices(k.getCleaningDevices().getValue()) .cleanupDevices(k.getCleaningDevices().getValue())
.protectName(objName) .protectName(objName)
.detectionDevices(k.getDetectionDevices().getValue()) .detectionDevices(k.getDetectionDevices().getValue())
.ipType(k.getIpType() == 0 ? IpAddrType.IPV4 : IpAddrType.IPV6) .ipType(k.getIpType() == 4 ? IpAddrType.IPV4 : IpAddrType.IPV6)
.ipSegment(new Hashtable<>()) .ipSegment(new Hashtable<>())
.build(); .build();
// 添加到缓存 // 添加到缓存