aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/ip/ip_format_fns.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/vnet/ip/ip_format_fns.h')
-rw-r--r--src/vnet/ip/ip_format_fns.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/vnet/ip/ip_format_fns.h b/src/vnet/ip/ip_format_fns.h
index b24c59454d4..4db10d1bb41 100644
--- a/src/vnet/ip/ip_format_fns.h
+++ b/src/vnet/ip/ip_format_fns.h
@@ -83,4 +83,10 @@ format_vl_api_prefix_t (u8 * s, va_list * args)
return format (s, "%U/%u", format_vl_api_address_t, &a->address, indent, a->len);
}
+static inline u8 *
+format_vl_api_address_with_prefix_t (u8 * s, va_list * args)
+{
+ return format_vl_api_prefix_t (s, args);
+}
+
#endif