Commit ed95835a authored by Aurelio Colosimo's avatar Aurelio Colosimo

state-listening: record_update must be checked every time

parent 3364f314
......@@ -69,6 +69,7 @@ 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"); */
......@@ -76,7 +77,6 @@ int pp_listening(struct pp_instance *ppi, unsigned char *pkt, int plen)
ppi->next_state = bmc(ppi->frgn_master,
ppi->rt_opts, ppi);
}
}
/* Leaving this state */
if (ppi->next_state != ppi->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