From 868f11f4f4da49198b8102509fb0234578be25e8 Mon Sep 17 00:00:00 2001 From: Marek Gradzki Date: Mon, 20 Nov 2017 15:27:44 +0100 Subject: Refactor IP translators to use IetfInetUtil Use efficient factory methods for ietf-inet-types DTOs where possible. Also cleans up some duplicated and unused code. Change-Id: I58f4163edba0dcd30e5e044cf701788446d86a0f Signed-off-by: Marek Gradzki --- .../src/main/java/io/fd/hc2vpp/nat/read/Nat64PrefixesCustomizer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nat') diff --git a/nat/nat2vpp/src/main/java/io/fd/hc2vpp/nat/read/Nat64PrefixesCustomizer.java b/nat/nat2vpp/src/main/java/io/fd/hc2vpp/nat/read/Nat64PrefixesCustomizer.java index f3997dc79..5026a0127 100644 --- a/nat/nat2vpp/src/main/java/io/fd/hc2vpp/nat/read/Nat64PrefixesCustomizer.java +++ b/nat/nat2vpp/src/main/java/io/fd/hc2vpp/nat/read/Nat64PrefixesCustomizer.java @@ -113,7 +113,7 @@ final class Nat64PrefixesCustomizer if (prefixDetails != null) { builder.setNat64PrefixId(prefixId); builder.setNat64Prefix( - arrayToIpv6Prefix(prefixDetails.prefix, UnsignedBytes.toInt(prefixDetails.prefixLen))); + toIpv6Prefix(prefixDetails.prefix, UnsignedBytes.toInt(prefixDetails.prefixLen))); } } -- cgit 1.2.3-korg