summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJakub Grajciar <jgrajcia@cisco.com>2019-09-23 10:42:19 +0200
committerOle Trøan <otroan@employees.org>2019-09-23 10:48:45 +0000
commitb28a81e2ce7c3e780dbf94a13d2ba6f7895918fe (patch)
treeeaa1bdcb3be0edcdfd37dc962c50fdb1e627ba49 /src
parent138c37af5291e2045075052a4db036be03be4a85 (diff)
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
Diffstat (limited to 'src')
-rw-r--r--src/vnet/ip/ip_format_fns.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/vnet/ip/ip_format_fns.h b/src/vnet/ip/ip_format_fns.h
index 4db10d1bb41..b0e0c10d715 100644
--- a/src/vnet/ip/ip_format_fns.h
+++ b/src/vnet/ip/ip_format_fns.h
@@ -89,4 +89,16 @@ format_vl_api_address_with_prefix_t (u8 * s, va_list * args)
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