summaryrefslogtreecommitdiffstats
path: root/src/vat
diff options
context:
space:
mode:
authorJakub Grajciar <jgrajcia@cisco.com>2020-01-31 10:17:29 +0100
committerOle Trøan <otroan@employees.org>2020-02-26 11:45:25 +0000
commit00ec4019b399132a72467ed4c3fb039d4f2466b7 (patch)
tree72fc06bcc5ee1376b24bfe94413a5b8b2ef7067c /src/vat
parent908965db7e3075ba7bacd924bfb0df203fe6cc7d (diff)
sr: API cleanup
Use consistent API types. Type: fix Signed-off-by: Jakub Grajciar <jgrajcia@cisco.com> Change-Id: I6238ec79b916c23c07c3f7e2ac8e635f5a0d6112 Signed-off-by: Jakub Grajciar <jgrajcia@cisco.com>
Diffstat (limited to 'src/vat')
-rw-r--r--src/vat/api_format.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vat/api_format.c b/src/vat/api_format.c
index f85e94a50b7..da64a8151fd 100644
--- a/src/vat/api_format.c
+++ b/src/vat/api_format.c
@@ -8548,7 +8548,7 @@ api_sr_mpls_policy_add (vat_main_t * vam)
mp->bsid = htonl (bsid);
mp->weight = htonl (weight);
- mp->type = type;
+ mp->is_spray = type;
mp->n_segments = n_segments;
memcpy (mp->segments, segments, sizeof (u32) * n_segments);
vec_free (segments);