summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJafar Al-Gharaibeh <jafar@atcorp.com>2025-02-13 19:04:18 -0600
committerGitHub <noreply@github.com>2025-02-13 19:04:18 -0600
commit6cfea1aa87b896b4c13b0edae66118f935e404f9 (patch)
tree209778be7d8ce53ffbc1b89d3870432c4edf0948 /lib
parent478864436d214b49aca5f5eb7289544b19b90f90 (diff)
parent1f0845ad29035e0cae2a4c6ed129eace366212f3 (diff)
Merge pull request #18146 from FRRouting/mergify/bp/dev/10.3/pr-18023
lib: fix false context information for SRv6 route (backport #18023)
Diffstat (limited to 'lib')
-rw-r--r--lib/srv6.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/srv6.c b/lib/srv6.c
index c00aca3cab..4d820e2fcc 100644
--- a/lib/srv6.c
+++ b/lib/srv6.c
@@ -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: