aboutsummaryrefslogtreecommitdiffstats
path: root/c/ping.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--c/ping.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/c/ping.c b/c/ping.c
index c98f106..68c4c86 100644
--- a/c/ping.c
+++ b/c/ping.c
@@ -47,6 +47,7 @@ void main(void) {
} else {
puts(" seq="); putu(seq); puts(" timeout"); nl();
}
+ if (seq < 4) msleep(800); /* pace like real ping */
}
puts("-- "); putu(got); puts("/4 received"); nl();
net_close(s);