X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvat%2Fapi_format.c;h=da64a8151fd6a01febb58e48daa4aeecfa9a96d8;hb=00ec4019b399132a72467ed4c3fb039d4f2466b7;hp=f85e94a50b7c191fcf1baf1889c7c5abf7e4aa33;hpb=908965db7e3075ba7bacd924bfb0df203fe6cc7d;p=vpp.git 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);