From 2ff091b14b90383456781cd5a8a1be88a2a3d4ae Mon Sep 17 00:00:00 2001 From: Richard Cochran Date: Wed, 21 Mar 2012 12:20:45 +0100 Subject: [PATCH] Throw a fault event if the BMC algorithm fails. That makes more sense than re-initializing, perhaps. Signed-off-by: Richard Cochran --- clock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clock.c b/clock.c index 1487567..914bfc0 100644 --- a/clock.c +++ b/clock.c @@ -480,7 +480,7 @@ static void handle_state_decision_event(struct clock *c) event = EV_RS_SLAVE; break; default: - event = EV_INITIALIZE; + event = EV_FAULT_DETECTED; break; } port_dispatch(c->port[i], event, fresh_best);