Commit ed95835a authored by Aurelio Colosimo's avatar Aurelio Colosimo

state-listening: record_update must be checked every time

parent 3364f314
......@@ -69,13 +69,13 @@ int pp_listening(struct pp_instance *ppi, unsigned char *pkt, int plen)
/* TODO addForeign(ptpClock->msgIbuf,header,ptpClock); */
ppi->record_update = TRUE;
}
if(ppi->record_update) {
/* FIXME diag DBGV("event STATE_DECISION_EVENT\n"); */
ppi->record_update = FALSE;
ppi->next_state = bmc(ppi->frgn_master,
ppi->rt_opts, ppi);
}
if(ppi->record_update) {
/* FIXME diag DBGV("event STATE_DECISION_EVENT\n"); */
ppi->record_update = FALSE;
ppi->next_state = bmc(ppi->frgn_master,
ppi->rt_opts, ppi);
}
/* Leaving this state */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment