From 3764b2df4500a5ee1223868c45fd2cf7fcc63085 Mon Sep 17 00:00:00 2001 From: adjoly Date: Sun, 17 Aug 2025 23:02:25 +0200 Subject: [PATCH] =?UTF-8?q?=E3=80=8C=F0=9F=94=A8=E3=80=8D=20fix:=20added?= =?UTF-8?q?=20ms=20to=20the=20prints?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/ping/send_icmp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ping/send_icmp.c b/src/ping/send_icmp.c index c21b799..58ee681 100644 --- a/src/ping/send_icmp.c +++ b/src/ping/send_icmp.c @@ -77,7 +77,7 @@ void process_icmp(char *buf, int bytes, struct sockaddr_in *addr, int seq, append_time(rtt); - printf("%lu bytes from %s: icmp_seq=%d ttl=%d time=%.3f\n", bytes - len + sizeof(struct icmphdr), + printf("%lu bytes from %s: icmp_seq=%d ttl=%d time=%.3f ms\n", bytes - len + sizeof(struct icmphdr), inet_ntoa(addr->sin_addr), ntohs(icmp->un.echo.sequence), ip->ip_ttl, rtt); }