diff --git a/phc2sys.c b/phc2sys.c index b6f6719..e2b5c47 100644 --- a/phc2sys.c +++ b/phc2sys.c @@ -786,7 +786,7 @@ static int recv_subscribed(struct node *node, struct ptp_message *msg, port->state = state; clock = port->clock; state = clock_compute_state(node, clock); - if (clock->state != state) { + if (clock->state != state || clock->new_state) { clock->new_state = state; node->state_changed = 1; }