linger flag seems to work now
This commit is contained in:
@ -6,7 +6,7 @@
|
||||
/* By: tomoron <tomoron@student.42angouleme.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2025/04/24 22:49:22 by tomoron #+# #+# */
|
||||
/* Updated: 2025/05/22 15:26:40 by tomoron ### ########.fr */
|
||||
/* Updated: 2025/05/22 22:19:36 by tomoron ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
#include "includes/ft_ping.h"
|
||||
@ -80,6 +80,7 @@ t_waitlist *send_icmp(t_settings *set, struct addrinfo *host, uint16_t *seq, str
|
||||
ret->seq = *seq;
|
||||
ret->next = 0;
|
||||
stats->sent++;
|
||||
gettimeofday(&set->last_send_time, 0);
|
||||
(*seq)++;
|
||||
return(ret);
|
||||
}
|
||||
|
Reference in New Issue
Block a user