Throw a fault event if the BMC algorithm fails.
That makes more sense than re-initializing, perhaps. Signed-off-by: Richard Cochran <richardcochran@gmail.com>master
parent
3ff62648fa
commit
2ff091b14b
2
clock.c
2
clock.c
|
@ -480,7 +480,7 @@ static void handle_state_decision_event(struct clock *c)
|
||||||
event = EV_RS_SLAVE;
|
event = EV_RS_SLAVE;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
event = EV_INITIALIZE;
|
event = EV_FAULT_DETECTED;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
port_dispatch(c->port[i], event, fresh_best);
|
port_dispatch(c->port[i], event, fresh_best);
|
||||||
|
|
Loading…
Reference in New Issue