freebsd-src/sbin/ping
Jose Luis Duran 9fc2d858b4 ping tests: Add a regression test
Test regression fixed in 4630a3252a. Add two tests that do not
use the verbose flag, so the code path in question can be reached:

1. Respond with a proper ICMP destination host unreachable packet.
2. Respond with a doctored ICMP destination host unreachable packet,
   that has the ICMP Identifier field modified (+1 bit).

Reviewed by:	cy
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D39244
2023-03-26 19:54:29 -07:00
..
tests ping tests: Add a regression test 2023-03-26 19:54:29 -07:00
main.c ping: main.c: Consistent use of white space/tabs 2022-11-03 10:39:32 -04:00
main.h ping: split the visual part of -f into a new option -. 2022-04-18 18:10:50 +02: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
ping.8 ping(8): man page cleanup 2023-01-02 00:48:25 +00:00
ping.c ping: Fix an uninitialized variable 2023-03-23 21:58:28 -07:00
ping.h Merge ping6 to ping 2020-11-26 04:29:30 +00:00
ping6.c ping6: Use errx to avoid appending a specious error message 2023-03-14 11:58:02 -04:00
ping6.h Merge ping6 to ping 2020-11-26 04:29:30 +00:00
utils.c
utils.h