summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pathd/path_pcep_config.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/pathd/path_pcep_config.c b/pathd/path_pcep_config.c
index 99b1c349a9..873b0ccd37 100644
--- a/pathd/path_pcep_config.c
+++ b/pathd/path_pcep_config.c
@@ -453,8 +453,7 @@ int path_pcep_config_update_path(struct path *path)
}
if (number_of_sid_clashed)
- SET_FLAG(segment->segment_list->flags,
- F_SEGMENT_LIST_SID_CONFLICT);
+ SET_FLAG(segment_list->flags, F_SEGMENT_LIST_SID_CONFLICT);
else
srte_apply_changes();