Skip to content

Commit

Permalink
Merge pull request #15675 from pguibert6WIND/srv6_bsid_to_seg6local_2str
Browse files Browse the repository at this point in the history
lib: add srv6 bsid to seg6local_context2str
  • Loading branch information
ton31337 authored Apr 5, 2024
2 parents 959439f + 6f45349 commit e19fa07
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/srv6.c
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,11 @@ const char *seg6local_context2str(char *str, size_t size,
snprintf(str, size, "table %u", ctx->table);
return str;

case ZEBRA_SEG6_LOCAL_ACTION_END_DX2:
case ZEBRA_SEG6_LOCAL_ACTION_END_B6:
case ZEBRA_SEG6_LOCAL_ACTION_END_B6_ENCAP:
snprintfrr(str, size, "nh6 %pI6", &ctx->nh6);
return str;
case ZEBRA_SEG6_LOCAL_ACTION_END_DX2:
case ZEBRA_SEG6_LOCAL_ACTION_END_BM:
case ZEBRA_SEG6_LOCAL_ACTION_END_S:
case ZEBRA_SEG6_LOCAL_ACTION_END_AS:
Expand Down

0 comments on commit e19fa07

Please sign in to comment.