ping(8): Fix typo in ping6.c

Line 703 & 863: kerel -> kernel
Line 2110: resposne -> response

Event:		Advanced UNIX Programming Course (Fall’23) at NTHU.
Pull Request:	https://github.com/freebsd/freebsd-src/pull/967
This commit is contained in:
Hao-Yu Hou 2023-12-30 17:59:27 +08:00 committed by Li-Wen Hsu
parent 2e8ad2b698
commit e9866ce84f
No known key found for this signature in database
GPG key ID: 82B261B14D3BC7AF

View file

@ -700,7 +700,7 @@ ping6(int argc, char *argv[])
}
/*
* let the kerel pass extension headers of incoming packets,
* let the kernel pass extension headers of incoming packets,
* for privileged socket options
*/
if ((options & F_VERBOSE) != 0) {
@ -860,7 +860,7 @@ ping6(int argc, char *argv[])
}
#endif /*ICMP6_FILTER*/
/* let the kerel pass extension headers of incoming packets */
/* let the kernel pass extension headers of incoming packets */
if ((options & F_VERBOSE) != 0) {
int opton = 1;
@ -2107,7 +2107,7 @@ pr_nodeaddr(struct icmp6_nodeinfo *ni, int nilen)
/*
* In icmp-name-lookups 05 and later, TTL of each returned address
* is contained in the resposne. We try to detect the version
* is contained in the response. We try to detect the version
* by the length of the data, but note that the detection algorithm
* is incomplete. We assume the latest draft by default.
*/