sr: fix for SID index across segment lists within a sr policy
Type: fix Signed-off-by: Chinmaya Agarwal <chinmaya.agarwal@hsc.com> Change-Id: I9aa5456bf94356e8702fbfd39b14db4c2e74d3e6
This commit is contained in:
committed by
Damjan Marion
parent
975a3cbb13
commit
edc2ea435b
@@ -314,7 +314,7 @@ static void send_sr_policies_details
|
||||
|
||||
api_sid_list->num_sids = vec_len (segment_list->segments);
|
||||
api_sid_list->weight = htonl (segment_list->weight);
|
||||
|
||||
slidx = 0;
|
||||
vec_foreach (segment, segment_list->segments)
|
||||
{
|
||||
ip6_address_encode (segment, api_sid_list->sids[slidx++]);
|
||||
|
||||
Reference in New Issue
Block a user