parent
9ad87e87a5
commit
d7be22a041
|
@ -253,6 +253,7 @@ public class DpTechAbilityImpl implements DisposeAbility {
|
|||
protectIpV6.clear();
|
||||
objs.getProtectionObjectDataForService().forEach(v -> {
|
||||
String ipSeg = v.getIpSegment().getValue();
|
||||
log.debug("DpTech response type: {}, value: {}", v.getIpType(), ipSeg);
|
||||
if (v.getIpType() == 0 && ipSeg.length() > 0) {
|
||||
protectIpV4.addAll(Arrays.asList(ipSeg.replaceAll("\\d+_", "").split(",")));
|
||||
} else if (v.getIpType() == 1 && ipSeg.length() > 0) {
|
||||
|
@ -262,6 +263,9 @@ public class DpTechAbilityImpl implements DisposeAbility {
|
|||
}
|
||||
} catch (Exception ignored) {
|
||||
}
|
||||
|
||||
log.debug("V4 range: {}", protectIpV4);
|
||||
log.debug("V6 range: {}", protectIpV6);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue