since it doesn't make sense to both send packets
as fast as possible and to delay randomly between
packets, i think this case is just disallowed.
/n/sources/plan9//sys/src/cmd/ip/ping.c:532,537 - ping.c:532,541
break;
} ARGEND;
+ if(flood && rint){
+
Hello,
ip/ping -r -f www.google.com
io% ip/ping -r -f www.google.com
sending 32 64 byte messages 0 ms apart to icmp!www.google.com!1
ping 34691: suicide: sys: trap: divide error pc=0x3953
0: rtt 9797 µs, avg rtt 9797 µs, ttl = 245
io% ps
...
arisawa 346790:00 0:00 128K Pread
Hello all,
I would like to learn how to fix this in the ping C code, I am new to
plan9 and C
ip/ping -r -f www.google.com
sending 32 64 bytes messages 0 ms apart to icmp!www.google.com!1
ping 238: suicide: sys: trap: divide error pc=0x3953
term% 0: rrt 38841 us, avg rtt 38841 us, ttl = 128