aboutsummaryrefslogtreecommitdiff
path: root/sys/netinet/ip_icmp.c
diff options
context:
space:
mode:
authorRandall Stewart <rrs@FreeBSD.org>2020-02-12 13:31:36 +0000
committerRandall Stewart <rrs@FreeBSD.org>2020-02-12 13:31:36 +0000
commit481be5de9deed47eae529c7e5df890520ebc6837 (patch)
treeae00086429032445d9eb8f0f606d1f7d3f20561a /sys/netinet/ip_icmp.c
parentdf341f5986e63970ef51eb9d751681b13e62a12f (diff)
Notes
Diffstat (limited to 'sys/netinet/ip_icmp.c')
-rw-r--r--sys/netinet/ip_icmp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/netinet/ip_icmp.c b/sys/netinet/ip_icmp.c
index 356414fbdc73e..cbae3953b016c 100644
--- a/sys/netinet/ip_icmp.c
+++ b/sys/netinet/ip_icmp.c
@@ -563,7 +563,7 @@ icmp_input(struct mbuf **mp, int *offp, int proto)
* - The outer IP header has no options.
* - The outer IP header, the ICMP header, the inner IP header,
* and the first n bytes of the inner payload are contiguous.
- * n is at least 8, but might be larger based on
+ * n is at least 8, but might be larger based on
* ICMP_ADVLENPREF. See its definition in ip_icmp.h.
*/
ctlfunc = inetsw[ip_protox[icp->icmp_ip.ip_p]].pr_ctlinput;
@@ -629,7 +629,7 @@ icmp_input(struct mbuf **mp, int *offp, int proto)
(struct sockaddr *)&icmpdst, m->m_pkthdr.rcvif);
if (ia == NULL)
break;
- if (ia->ia_ifp == NULL)
+ if (ia->ia_ifp == NULL)
break;
icp->icmp_type = ICMP_MASKREPLY;
if (V_icmpmaskfake == 0)
@@ -937,7 +937,7 @@ done:
*
* @src: sockaddr with address of redirect originator
* @dst: sockaddr with destination in question
- * @gateway: new proposed gateway
+ * @gateway: new proposed gateway
*
* Returns 0 on success.
*/