Commit a7f9f2ea authored by Tommy Olofsson's avatar Tommy Olofsson
Browse files

Added a print for a potential error.

parent e411f74f
......@@ -509,6 +509,10 @@ int handle_data_sample_event(void *event_arg)
if (fers->data.important) {
chan->remote_seqno = fers->data.seqno;
}
} else if (fers->data.important && expected_seqno != fers->data.seqno) {
firefly_error(FIREFLY_ERROR_PROTO_STATE, 1,
"Received data flagged important with "
"unexpected sequence number.");
}
} else {
firefly_unknown_dest(fers->conn, fers->data.src_chan_id,
......
Supports Markdown
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