Correct timestamp to NTP format and packet_counter