From 3dc2973161d71060cbea62063d219077f531af8a Mon Sep 17 00:00:00 2001 From: Jordan Augé Date: Tue, 8 Oct 2019 15:11:40 +0200 Subject: [HICN-306] Wrong representation format in ip_prefix_ntop causes parsing issues MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I16c8059ce537f338c15434acc87ac0e4baf87049 Signed-off-by: Jordan Augé --- lib/includes/hicn/util/ip_address.h | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/includes') diff --git a/lib/includes/hicn/util/ip_address.h b/lib/includes/hicn/util/ip_address.h index 728a9da90..542e6e4c6 100644 --- a/lib/includes/hicn/util/ip_address.h +++ b/lib/includes/hicn/util/ip_address.h @@ -135,6 +135,7 @@ int ip_address_empty(const ip_address_t * ip); /* Prefix */ int ip_prefix_pton (const char *ip_address_str, ip_prefix_t * ip_prefix); +int ip_prefix_ntop_short (const ip_prefix_t * ip_prefix, char *dst, size_t size); int ip_prefix_ntop (const ip_prefix_t * ip_prefix, char *dst, size_t size); int ip_prefix_len (const ip_prefix_t * prefix); bool ip_prefix_empty (const ip_prefix_t * prefix); -- cgit 1.2.3-korg