diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2021-03-17 08:31:01 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-03-17 08:31:01 -0400 |
| commit | 4f156615e1543b327d76a742393015c6c2da26a0 (patch) | |
| tree | 6bae0db9bb7d3b5a5c300a2a79a2d290546e36b7 /pathd/pathd.c | |
| parent | de40463b54bfe9cacf96fcc294d61583dab2fdf6 (diff) | |
| parent | d85bf6f1ebd61694a57f0982e13ed87874e411a5 (diff) | |
Merge pull request #8276 from opensourcerouting/pathd-fmt-fix
pathd: fix some format strings
Diffstat (limited to 'pathd/pathd.c')
| -rw-r--r-- | pathd/pathd.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/pathd/pathd.c b/pathd/pathd.c index e2c7c95728..14f5167bff 100644 --- a/pathd/pathd.c +++ b/pathd/pathd.c @@ -624,8 +624,7 @@ void srte_candidate_set_metric(struct srte_candidate *candidate, char endpoint[46]; ipaddr2str(&policy->endpoint, endpoint, sizeof(endpoint)); zlog_debug( - "SR-TE(%s, %u): candidate %s %sconfig metric %s (%u) set to %f " - "(is-bound: %s; is_computed: %s)", + "SR-TE(%s, %u): candidate %s %sconfig metric %s (%u) set to %f (is-bound: %s; is_computed: %s)", endpoint, policy->color, candidate->name, required ? "required " : "", srte_candidate_metric_name(type), type, value, is_bound ? "true" : "false", @@ -659,8 +658,7 @@ void srte_lsp_set_metric(struct srte_lsp *lsp, char endpoint[46]; ipaddr2str(&policy->endpoint, endpoint, sizeof(endpoint)); zlog_debug( - "SR-TE(%s, %u): candidate %s %slsp metric %s (%u) set to %f " - "(is-bound: %s; is_computed: %s)", + "SR-TE(%s, %u): candidate %s %slsp metric %s (%u) set to %f (is-bound: %s; is_computed: %s)", endpoint, policy->color, candidate->name, required ? "required " : "", srte_candidate_metric_name(type), type, value, is_bound ? "true" : "false", @@ -981,8 +979,7 @@ void srte_candidate_unset_segment_list(const char *originator, bool force) if (segment_list->protocol_origin == SRTE_ORIGIN_LOCAL) { zlog_warn( - "Cannot unset segment list %s because it " - "was created locally", + "Cannot unset segment list %s because it was created locally", segment_list->name); continue; } |
