Merge remote-tracking branch 'origin/v2.0.5_dev' into v2.0.5_dev

This commit is contained in:
HuangXin 2021-01-14 15:13:26 +08:00
commit 3f6d8f1813
1 changed files with 1 additions and 1 deletions

View File

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