summaryrefslogtreecommitdiffstats
path: root/src/vat
diff options
context:
space:
mode:
Diffstat (limited to 'src/vat')
-rw-r--r--src/vat/api_format.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vat/api_format.c b/src/vat/api_format.c
index e1e8bfee57a..7b5d5949159 100644
--- a/src/vat/api_format.c
+++ b/src/vat/api_format.c
@@ -9796,6 +9796,7 @@ api_sr_localsid_add_del (vat_main_t * vam)
M (SR_LOCALSID_ADD_DEL, mp);
clib_memcpy (mp->localsid.addr, &localsid, sizeof (mp->localsid));
+
if (nexthop_set)
{
clib_memcpy (mp->nh_addr6, &nh_addr6, sizeof (mp->nh_addr6));