Mass-convert all compontents to use -no-zone addresses
[bgpcep.git] / pcep / base-parser / src / main / java / org / opendaylight / protocol / pcep / parser / object / unreach / PCEPIpv4UnreachDestinationParser.java
index 25bfca7651af1093b05a4e84a9b112ba5a99d034..fc8b70be92cec5d52beaca48cd47c1f61067f36e 100644 (file)
@@ -56,7 +56,7 @@ public final class PCEPIpv4UnreachDestinationParser extends CommonObjectParser {
         builder.setProcessingRule(header.isProcessingRule());
         List<Ipv4AddressNoZone> dest = new ArrayList<>();
         while (bytes.isReadable()) {
-            dest.add(Ipv4Util.noZoneAddressForByteBuf(bytes));
+            dest.add(Ipv4Util.addressForByteBuf(bytes));
         }
         builder.setDestination(new Ipv4DestinationCaseBuilder().setDestinationIpv4Address(dest).build());
         return builder.build();