parent
39513c00a3
commit
c3a3b90e50
|
@ -117,6 +117,7 @@ public class DpTechBypassAbilityImpl extends DpTechAbilityImpl {
|
|||
|
||||
// 解除关联的防护模板
|
||||
for (DpProtectionStrategyInfo v : dpBypassManager.getProtectStrategy().values()) {
|
||||
// 如果防护对象关联了防护策略模板,那么解除该防护策略模板
|
||||
if (v.getProtectTargetName().equals(objName)) {
|
||||
ret = getCleanTypePort().disableProtectionStrategyTemplateForUMC(objName, v.getProtectStrategyName());
|
||||
|
||||
|
@ -304,7 +305,7 @@ public class DpTechBypassAbilityImpl extends DpTechAbilityImpl {
|
|||
}
|
||||
} else if (IpAddrType.IPV6.equals(t)) {
|
||||
if (ipV6.size() != dp.getIpSegment().values().size()
|
||||
|| !ipV4.containsAll(dp.getIpSegment().values())
|
||||
|| !ipV6.containsAll(dp.getIpSegment().values())
|
||||
|| dp.getIpSegment().values().containsAll(ipV6)) {
|
||||
upgradeIpSegment = true;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue