summaryrefslogtreecommitdiff
path: root/utils/ping.c
AgeCommit message (Collapse)Author
1998-10-20Add braces to silence gcc warnings.Roland McGrath
1998-04-22Wed Apr 22 16:38:59 1998 Thomas Bushnell, n/BSG <tb@mit.edu>Thomas Bushnell
* ping.c (MAXHOSTNAMELEN): Don't define. (main): Delete variable `hnamebuf'. Store directly into properly malloced `hostname' variable.
1998-04-22Wed Apr 22 16:29:18 1998 Thomas Bushnell, n/BSG <tb@mit.edu>Thomas Bushnell
* ping.c: New file. Originally P.D. from US Army; then modified by BSD, then added to Linux. Taken from Linux ping and adapted for Hurd and submitted for inclusion by Kunihiro Ishiguro (kunihiro@zebra.org). * Makefile (targets): Add `ping'. (SRCS): Add `ping.c'. (ping-CPPFLAGS): New variable, to find <linux/icmp.h> in the pfinet sources. (INSTALL-ping-ops): Install ping suid root. (ping): Depend on `../libthreads/libthreads.a'.