summaryrefslogtreecommitdiff
path: root/pathd/path_pcep.c
diff options
context:
space:
mode:
Diffstat (limited to 'pathd/path_pcep.c')
-rw-r--r--pathd/path_pcep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pathd/path_pcep.c b/pathd/path_pcep.c
index ce631eb7b0..8a78259077 100644
--- a/pathd/path_pcep.c
+++ b/pathd/path_pcep.c
@@ -210,7 +210,7 @@ int pcep_main_event_handler(enum pcep_main_event_type type, int pcc_id,
ret = pcep_main_event_remove_candidate_segments(
(const char *)payload, true);
break;
- default:
+ case PCEP_MAIN_EVENT_UNDEFINED:
flog_warn(EC_PATH_PCEP_RECOVERABLE_INTERNAL_ERROR,
"Unexpected event received in the main thread: %u",
type);