Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
sr: API cleanup
[vpp.git]
/
src
/
vat
/
api_format.c
diff --git
a/src/vat/api_format.c
b/src/vat/api_format.c
index
f85e94a
..
da64a81
100644
(file)
--- 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);