Date: Thu, 4 Sep 1997 23:10:24 -0300 (ADT) From: 026809r@dragon.acadiau.ca (Michael Richards) To: freebsd-questions@freebsd.org Subject: Ping bug? Message-ID: <199709050210.XAA19228@dragon.acadiau.ca>
next in thread | raw e-mail | index | archive | help
Hi. I have an interesting problem with ping. I don't know if it is a bug or not. The man page says that the -Q switch will shut it up when it comes to error messages. I am writing a package to tell me if the host is up or down. the script calls: ping -c1 -Q lib226-1.acadiau.ca at this time it is dead. so it tries: ping -c10 -Q lib226-1.acadiau.ca if nothing comes back, we assume lib226-1 is dead.. right? Here's what I keep getting back. ping: sendto: Host is down ping: wrote lib226-1.acadiau.ca 64 chars, ret=-1 According to the man page, it shouldn't give me any errors. Even funnier, it seems to behave correctly if I just start off pinging it once. As soon as I try pinging a second time in a row, it spits out these error messages... Any ideas? -Mike
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199709050210.XAA19228>