summaryrefslogtreecommitdiffstats
path: root/sbin/ping/Makefile
diff options
context:
space:
mode:
authorwollman <wollman@FreeBSD.org>1997-03-01 20:19:18 +0000
committerwollman <wollman@FreeBSD.org>1997-03-01 20:19:18 +0000
commit17f6cabeccaa5a1416de155d2bc03f02b10da51e (patch)
treef10f05dca324c743aee1fcdac39ec8f7762d960a /sbin/ping/Makefile
parentaedef92e17de6078535764ab3abb83f2f4b76866 (diff)
downloadFreeBSD-src-17f6cabeccaa5a1416de155d2bc03f02b10da51e.zip
FreeBSD-src-17f6cabeccaa5a1416de155d2bc03f02b10da51e.tar.gz
Make ping -Wall clean (except for one warning).
Do a better job of argument parsing. Don't permit ping -f to a multicast address (very antisocial). Don't permit -L, -I, -T options with unicast addresses. Ensure that we ask for only AF_INET addresses (should close PR#2584). Return <sysexits.h> error codes for failures. Document this. Fix man page to identify the author and put sections in correct order.
Diffstat (limited to 'sbin/ping/Makefile')
-rw-r--r--sbin/ping/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/sbin/ping/Makefile b/sbin/ping/Makefile
index a7ed766..a4a3685 100644
--- a/sbin/ping/Makefile
+++ b/sbin/ping/Makefile
@@ -4,5 +4,6 @@ PROG= ping
MAN8= ping.8
BINOWN= root
BINMODE=4555
+COPTS+= -Wall -Wmissing-prototypes
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud