writeHeader(in, false);
Iterator<String> addressParts = IpConversionUtil.splitToParts(arpTargetTransportAddressNoMask);
- in.writeBytes(IetfInetUtil.INSTANCE.ipv4AddressBytes(new Ipv4Address(addressParts.next())));
+ in.writeBytes(IetfInetUtil.ipv4AddressBytes(new Ipv4Address(addressParts.next())));
assertEquals(arpTargetTransportAddressNoMask.getValue(),
((ArpMatch) deserialize(in).getLayer3Match()).getArpTargetTransportAddress().getValue());
writeHeader(in, true);
addressParts = IpConversionUtil.splitToParts(arpTargetTransportAddress);
- in.writeBytes(IetfInetUtil.INSTANCE.ipv4AddressBytes(new Ipv4Address(addressParts.next())));
+ in.writeBytes(IetfInetUtil.ipv4AddressBytes(new Ipv4Address(addressParts.next())));
in.writeBytes(MatchConvertorUtil.extractIpv4Mask(addressParts));
final Ipv4Prefix desAddress =