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
Richard Cochran 2012-03-21 12:20:45 +01:00
parent 3ff62648fa
commit 2ff091b14b
1 changed files with 1 additions and 1 deletions

View File

@ -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);