Feature/mstp valid frame not for us stats (#1053)
* Fixed ISO C90 forbids mixed declarations and code warning. * Fixed the MS/TP invalid frame counter that was incremented for valid frames not for us.
This commit is contained in:
@@ -831,8 +831,9 @@ void dlenv_maintenance_timer(uint16_t elapsed_seconds)
|
||||
dlmstp_fill_statistics(&statistics);
|
||||
fprintf(
|
||||
stderr,
|
||||
"MSTP: Frames Rx:%u/%u Tx:%u PDU Rx:%u Tx:%u Lost:%u\n",
|
||||
"MSTP: Frames Rx:%u/%u/%u Tx:%u PDU Rx:%u Tx:%u Lost:%u\n",
|
||||
statistics.receive_valid_frame_counter,
|
||||
statistics.receive_valid_frame_not_for_us_counter,
|
||||
statistics.receive_invalid_frame_counter,
|
||||
statistics.transmit_frame_counter,
|
||||
statistics.receive_pdu_counter,
|
||||
|
||||
Reference in New Issue
Block a user