freebsd-src/sbin/ping
Ed Maste 0f0d52fd6a sbin: build ping if at least one of INET & INET6 is enabled
It does not build (and serves no purpose) if neither is true (i.e.,
building WITHOUT_INET and WITHOUT_INET6).  Also add an explicit error
in ping to make this case clear.

PR:		260082
Sponsored by:	The FreeBSD Foundation

(cherry picked from commit a4ef9e58bc)

OptionalObsoleteFiles: remove ping with INET & INET6 disabled

Reported by:	kevans
Fixes:		a4ef9e58bc ("sbin: build ping if at least one of...")
Sponsored by:	The FreeBSD Foundation

(cherry picked from commit 0179739a00)
2021-12-12 20:28:58 -05:00
..
tests ping: fix parsing of options including '4' and '6' 2021-12-12 20:27:12 -05:00
main.c sbin: build ping if at least one of INET & INET6 is enabled 2021-12-12 20:28:58 -05:00
main.h ping: fix parsing of options including '4' and '6' 2021-12-12 20:27:12 -05:00
Makefile ping: allow building without INET support 2020-11-28 23:24:19 +00:00
Makefile.depend Update Makefile.depend files 2019-12-11 17:37:53 +00:00
Makefile.depend.options Add Makefile.depend.options 2019-12-11 17:37:37 +00:00
ping.8 ping(8): Fix a mandoc related issue 2020-12-19 11:57:47 +00:00
ping.c ping: fix parsing of options including '4' and '6' 2021-12-12 20:27:12 -05:00
ping.h Merge ping6 to ping 2020-11-26 04:29:30 +00:00
ping6.c ping: fix parsing of options including '4' and '6' 2021-12-12 20:27:12 -05:00
ping6.h Merge ping6 to ping 2020-11-26 04:29:30 +00:00
utils.c ping: Move in_cksum() to a separate source file 2019-08-17 15:25:01 +00:00
utils.h ping: fix include guard symbol name to reflect the header file name 2019-08-23 15:24:18 +00:00