diff options
| author | Jafar Al-Gharaibeh <jafar@atcorp.com> | 2025-02-13 19:04:18 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-02-13 19:04:18 -0600 |
| commit | 6cfea1aa87b896b4c13b0edae66118f935e404f9 (patch) | |
| tree | 209778be7d8ce53ffbc1b89d3870432c4edf0948 /lib | |
| parent | 478864436d214b49aca5f5eb7289544b19b90f90 (diff) | |
| parent | 1f0845ad29035e0cae2a4c6ed129eace366212f3 (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.c | 3 |
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: |
