Merge pull request #15675 from pguibert6WIND/srv6_bsid_to_seg6local_2str

lib: add srv6 bsid to seg6local_context2str
This commit is contained in:
Donatas Abraitis 2024-04-05 20:49:27 +03:00 committed by GitHub
commit e19fa07c2c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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: