Hi,

We are trying to fetch sr localsids configured in VPP using sr_localsids_dump 
and sr_localsids_details API messages. When we do so, we see an issue that the 
value of "behavior" field is alwsys 0. On debugging the issue, we found that in 
file src/vnet/srv6/sr_api.c file, after the execution of line no. 245 i.e

rmp->behavior = htons (t->behavior);

rmp->behavior remains zero even if t->behavior has a non-zero value. We have 
identified a fix for this issue, so when we change the above line to

rmp->behavior = t->behavior;

We get correct value for behavior field in the API message. We will be posting 
this change for review on gerrit.

Thanks and Regards,
Chinmaya Agarwal.
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#20036): https://lists.fd.io/g/vpp-dev/message/20036
Mute This Topic: https://lists.fd.io/mt/85180803/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to