summaryrefslogtreecommitdiff
path: root/isisd/isis_te.c
diff options
context:
space:
mode:
authorRuss White <russ@riw.us>2023-04-11 09:49:01 -0400
committerGitHub <noreply@github.com>2023-04-11 09:49:01 -0400
commitf26a87cd247c6ece48ef843476afc3b44e6ce5d1 (patch)
tree20a46d79a9b32b8447fc481d3747c637036a3934 /isisd/isis_te.c
parente80c797a1f8f98c129a9605a174d451356dde008 (diff)
parent5d39a8190740b2b54de3b4d7e1527901bcbc2a33 (diff)
Merge pull request #12698 from Orange-OpenSource/isisd
Isisd/Lib: Add new printfrr format facility for Intermediate System ID
Diffstat (limited to 'isisd/isis_te.c')
-rw-r--r--isisd/isis_te.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/isisd/isis_te.c b/isisd/isis_te.c
index 3ecd2a6f65..4e180ead61 100644
--- a/isisd/isis_te.c
+++ b/isisd/isis_te.c
@@ -903,7 +903,7 @@ static int lsp_to_edge_cb(const uint8_t *id, uint32_t metric, bool old_metric,
struct ls_edge *edge, *dst;
struct ls_attributes *attr;
- te_debug(" |- Process Extended IS for %s", sysid_print(id));
+ te_debug(" |- Process Extended IS for %pSY", id);
/* Check parameters */
if (old_metric || !args || !tlvs)
@@ -1180,14 +1180,14 @@ static void isis_te_parse_lsp(struct mpls_te_area *mta, struct isis_lsp *lsp)
ted = mta->ted;
- te_debug("ISIS-TE(%s): Parse LSP %s", lsp->area->area_tag,
- sysid_print(lsp->hdr.lsp_id));
+ te_debug("ISIS-TE(%s): Parse LSP %pSY", lsp->area->area_tag,
+ lsp->hdr.lsp_id);
/* First parse LSP to obtain the corresponding Vertex */
vertex = lsp_to_vertex(ted, lsp);
if (!vertex) {
- zlog_warn("Unable to build Vertex from LSP %s. Abort!",
- sysid_print(lsp->hdr.lsp_id));
+ zlog_warn("Unable to build Vertex from LSP %pSY. Abort!",
+ lsp->hdr.lsp_id);
return;
}
@@ -1251,8 +1251,8 @@ static void isis_te_delete_lsp(struct mpls_te_area *mta, struct isis_lsp *lsp)
if (!IS_MPLS_TE(mta) || !mta->ted || !lsp)
return;
- te_debug("ISIS-TE(%s): Delete Link State TED objects from LSP %s",
- lsp->area->area_tag, sysid_print(lsp->hdr.lsp_id));
+ te_debug("ISIS-TE(%s): Delete Link State TED objects from LSP %pSY",
+ lsp->area->area_tag, lsp->hdr.lsp_id);
/* Compute Link State Node ID from IS-IS sysID ... */
if (lsp->level == ISIS_LEVEL1)