mirror of
https://dev.iopsys.eu/bbf/bbfdm.git
synced 2026-02-14 20:09:20 +01:00
Download diagnotics: Fix EOMTime value
This commit is contained in:
parent
27914a1336
commit
818288d6e2
1 changed files with 1 additions and 2 deletions
|
|
@ -688,9 +688,8 @@ static void http_download_per_packet(libtrace_packet_t *packet)
|
|||
}
|
||||
}
|
||||
|
||||
if (strcmp(tcp_flag, "FIN ACK ") == 0) {
|
||||
if ((strcmp(tcp_flag, "PSH ACK ") == 0 || strcmp(tcp_flag, "FIN PSH ACK ") == 0) && ntohl(tcp->ack_seq) == diag_stats.ack_seq) {
|
||||
snprintf(diag_stats.eomtime, sizeof(diag_stats.eomtime), "%s.%06ldZ", s_now, (long) http_download_ts.tv_usec);
|
||||
read_next = 0;
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue