From 00ec4019b399132a72467ed4c3fb039d4f2466b7 Mon Sep 17 00:00:00 2001 From: Jakub Grajciar Date: Fri, 31 Jan 2020 10:17:29 +0100 Subject: sr: API cleanup Use consistent API types. Type: fix Signed-off-by: Jakub Grajciar Change-Id: I6238ec79b916c23c07c3f7e2ac8e635f5a0d6112 Signed-off-by: Jakub Grajciar --- src/vpp/api/custom_dump.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/vpp') diff --git a/src/vpp/api/custom_dump.c b/src/vpp/api/custom_dump.c index 806fee69ddb..2a660312981 100644 --- a/src/vpp/api/custom_dump.c +++ b/src/vpp/api/custom_dump.c @@ -867,7 +867,7 @@ static void *vl_api_sr_mpls_policy_add_t_print if (mp->weight != htonl ((u32) 1)) s = format (s, "%d ", (mp->weight)); - if (mp->type) + if (mp->is_spray) s = format (s, "spray "); if (mp->n_segments) -- cgit 1.2.3-korg