mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-25 01:55:19 +01:00
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:
parent
2e8ad2b698
commit
e9866ce84f
@ -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
|
* for privileged socket options
|
||||||
*/
|
*/
|
||||||
if ((options & F_VERBOSE) != 0) {
|
if ((options & F_VERBOSE) != 0) {
|
||||||
@ -860,7 +860,7 @@ ping6(int argc, char *argv[])
|
|||||||
}
|
}
|
||||||
#endif /*ICMP6_FILTER*/
|
#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) {
|
if ((options & F_VERBOSE) != 0) {
|
||||||
int opton = 1;
|
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
|
* 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
|
* by the length of the data, but note that the detection algorithm
|
||||||
* is incomplete. We assume the latest draft by default.
|
* is incomplete. We assume the latest draft by default.
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user