Commit 480143ae authored by Maciej Lipinski's avatar Maciej Lipinski

protocol code: bugfix, bmc data-copying functions can be used only as a result of BMCA

m1() was used always when entering MASTER on Announce timeout - this
caused "going up" port (which usually enters MASTER) to use m1()
to overwrite the parentDS->grandmasterClockClass with its local
ClockClass. This should not happen on BC which is already synchronized.
parent 812fe67c
......@@ -56,7 +56,6 @@ int st_com_execute_slave(struct pp_instance *ppi)
ppi->frgn_rec_num = 0;
if (DSDEF(ppi)->clockQuality.clockClass != PP_CLASS_SLAVE_ONLY
&& (ppi->role != PPSI_ROLE_SLAVE)) {
m1(ppi);
ppi->next_state = PPS_MASTER;
} else {
ppi->next_state = PPS_LISTENING;
......
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