summaryrefslogtreecommitdiffstats
path: root/sys/netinet6/ip6_input.c
diff options
context:
space:
mode:
authorsthen <sthen@openbsd.org>2016-01-06 10:02:42 +0000
committersthen <sthen@openbsd.org>2016-01-06 10:02:42 +0000
commite3392f900ed4d088692b1f14b8bd6957065cd2e5 (patch)
tree74bdd9dde0e85a2baa502023e6b6ce89fb28117f /sys/netinet6/ip6_input.c
parentThis is just an example and we don't have to bump the set's version (diff)
downloadwireguard-openbsd-e3392f900ed4d088692b1f14b8bd6957065cd2e5.tar.xz
wireguard-openbsd-e3392f900ed4d088692b1f14b8bd6957065cd2e5.zip
fix comment typos
Diffstat (limited to 'sys/netinet6/ip6_input.c')
-rw-r--r--sys/netinet6/ip6_input.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/netinet6/ip6_input.c b/sys/netinet6/ip6_input.c
index 08e015d103e..7656b09f8af 100644
--- a/sys/netinet6/ip6_input.c
+++ b/sys/netinet6/ip6_input.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ip6_input.c,v 1.152 2015/12/03 21:11:54 sashan Exp $ */
+/* $OpenBSD: ip6_input.c,v 1.153 2016/01/06 10:02:42 sthen Exp $ */
/* $KAME: ip6_input.c,v 1.188 2001/03/29 05:34:31 itojun Exp $ */
/*
@@ -524,7 +524,7 @@ ip6_input(struct mbuf *m)
if (ip6->ip6_plen == 0 && plen == 0) {
/*
* Note that if a valid jumbo payload option is
- * contained, ip6_hoptops_input() must set a valid
+ * contained, ip6_hopopts_input() must set a valid
* (non-zero) payload length to the variable plen.
*/
ip6stat.ip6s_badoptions++;
@@ -1014,7 +1014,7 @@ ip6_savecontrol(struct inpcb *in6p, struct mbuf *m, struct mbuf **mp)
*/
if ((in6p->inp_flags & IN6P_HOPOPTS) != 0) {
/*
- * Check if a hop-by-hop options header is contatined in the
+ * Check if a hop-by-hop options header is contained in the
* received packet, and if so, store the options as ancillary
* data. Note that a hop-by-hop options header must be
* just after the IPv6 header, which is assured through the