summaryrefslogtreecommitdiffstats
path: root/pathd/path_pcep_pcc.c
diff options
context:
space:
mode:
authorJavier Garcia <javier.garcia@voltanet.io>2021-06-24 12:39:40 +0200
committerJavier Garcia <javier.garcia@voltanet.io>2021-06-28 17:08:48 +0200
commitc9daf7efc6cbf812c1a737c28027227570f1297d (patch)
tree556596befe61b007f3369f156bd24be9c79a88e2 /pathd/path_pcep_pcc.c
parentpathd: If pce ret no-path to PcReq don't retry PcReq nor delegate(1/2) (diff)
downloadfrr-c9daf7efc6cbf812c1a737c28027227570f1297d.tar.xz
frr-c9daf7efc6cbf812c1a737c28027227570f1297d.zip
pathd: Handle srp_id correctly (2/2)
Based on RFC 8231 #5.8.3 PcUpd RFC 8181 #5.1 Pcinit Signed-off-by: Javier Garcia <javier.garcia@voltanet.io>
Diffstat (limited to 'pathd/path_pcep_pcc.c')
-rw-r--r--pathd/path_pcep_pcc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/pathd/path_pcep_pcc.c b/pathd/path_pcep_pcc.c
index 4848ba7c0..b72a536ef 100644
--- a/pathd/path_pcep_pcc.c
+++ b/pathd/path_pcep_pcc.c
@@ -560,7 +560,6 @@ void pcep_pcc_send_report(struct ctrl_state *ctrl_state,
if (is_stable && (real_status != PCEP_LSP_OPERATIONAL_DOWN)) {
PCEP_DEBUG("(%s)%s Send report for candidate path (!DOWN) %s",
__func__, pcc_state->tag, path->name);
- path->srp_id = 0;
path->status = real_status;
send_report(pcc_state, path);
}