api: add missing format_vl_api_ip[46]_address_with_prefix_t
Type: fix
Signed-off-by: Jakub Grajciar <jgrajcia@cisco.com>
Change-Id: Iad7067962b1dd8d3a1335f07e89a62f901e82dff
diff --git a/src/vnet/ip/ip_format_fns.h b/src/vnet/ip/ip_format_fns.h
index 4db10d1..b0e0c10 100644
--- a/src/vnet/ip/ip_format_fns.h
+++ b/src/vnet/ip/ip_format_fns.h
@@ -89,4 +89,16 @@
return format_vl_api_prefix_t (s, args);
}
+static inline u8 *
+format_vl_api_ip4_address_with_prefix_t (u8 * s, va_list * args)
+{
+ return format_vl_api_ip4_prefix_t (s, args);
+}
+
+static inline u8 *
+format_vl_api_ip6_address_with_prefix_t (u8 * s, va_list * args)
+{
+ return format_vl_api_ip6_prefix_t (s, args);
+}
+
#endif