summaryrefslogtreecommitdiff
path: root/pathd/path_pcep_pcc.c
diff options
context:
space:
mode:
authorJavier Garcia <javier.garcia@voltanet.io>2021-05-13 13:17:44 +0200
committerJavier Garcia <javier.garcia@voltanet.io>2021-05-18 19:50:41 +0200
commitac57e2c9b96747f5f1a7484d5955688cf6400314 (patch)
tree2c233f99589d535564f89bf9972156e021a68f83 /pathd/path_pcep_pcc.c
parent04b122335b1c2964c6363c81dba10aa2986ae12e (diff)
pathd: Clean coverity issues after merge pathd link state feature.
Signed-off-by: Javier Garcia <javier.garcia@voltanet.io>
Diffstat (limited to 'pathd/path_pcep_pcc.c')
-rw-r--r--pathd/path_pcep_pcc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/pathd/path_pcep_pcc.c b/pathd/path_pcep_pcc.c
index 9af2148819..779c400b86 100644
--- a/pathd/path_pcep_pcc.c
+++ b/pathd/path_pcep_pcc.c
@@ -1273,7 +1273,8 @@ void handle_pcep_comp_reply(struct ctrl_state *ctrl_state,
* pathd API is thread safe, we could get a new path */
if (pcc_state->caps.is_stateful) {
PCEP_DEBUG("%s Delegating undefined dynamic path %s to PCE %s",
- pcc_state->tag, path->name, pcc_state->originator);
+ pcc_state->tag, req->path->name,
+ pcc_state->originator);
path = pcep_copy_path(req->path);
path->is_delegated = true;
send_report(pcc_state, path);