mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-07-17 19:05:44 +00:00
Merge pull request #18146 from FRRouting/mergify/bp/dev/10.3/pr-18023
lib: fix false context information for SRv6 route (backport #18023)
This commit is contained in:
commit
6cfea1aa87
@ -84,7 +84,6 @@ void seg6local_context2json(const struct seg6local_context *ctx,
|
||||
{
|
||||
switch (action) {
|
||||
case ZEBRA_SEG6_LOCAL_ACTION_END:
|
||||
json_object_boolean_add(json, "USP", true);
|
||||
return;
|
||||
case ZEBRA_SEG6_LOCAL_ACTION_END_X:
|
||||
case ZEBRA_SEG6_LOCAL_ACTION_END_DX6:
|
||||
@ -124,7 +123,7 @@ const char *seg6local_context2str(char *str, size_t size,
|
||||
switch (action) {
|
||||
|
||||
case ZEBRA_SEG6_LOCAL_ACTION_END:
|
||||
snprintf(str, size, "USP");
|
||||
snprintf(str, size, "-");
|
||||
return str;
|
||||
|
||||
case ZEBRA_SEG6_LOCAL_ACTION_END_X:
|
||||
|
Loading…
Reference in New Issue
Block a user