summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/netinet6/ip6_input.c6
-rw-r--r--sys/netinet6/nd6.h4
2 files changed, 5 insertions, 5 deletions
diff --git a/sys/netinet6/ip6_input.c b/sys/netinet6/ip6_input.c
index c613409f758..58655c2c51c 100644
--- a/sys/netinet6/ip6_input.c
+++ b/sys/netinet6/ip6_input.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ip6_input.c,v 1.98 2010/09/09 09:46:13 claudio Exp $ */
+/* $OpenBSD: ip6_input.c,v 1.99 2011/04/03 13:56:05 stsp Exp $ */
/* $KAME: ip6_input.c,v 1.188 2001/03/29 05:34:31 itojun Exp $ */
/*
@@ -974,8 +974,8 @@ ip6_process_hopopts(struct mbuf *m, u_int8_t *opthead, int hbhlen,
/*
* Unknown option processing.
* The third argument `off' is the offset from the IPv6 header to the option,
- * which is necessary if the IPv6 header the and option header and IPv6 header
- * is not continuous in order to return an ICMPv6 error.
+ * which allows returning an ICMPv6 error even if the IPv6 header and the
+ * option header are not continuous.
*/
int
ip6_unknown_opt(u_int8_t *optp, struct mbuf *m, int off)
diff --git a/sys/netinet6/nd6.h b/sys/netinet6/nd6.h
index 6eed9551610..b31441ccef7 100644
--- a/sys/netinet6/nd6.h
+++ b/sys/netinet6/nd6.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: nd6.h,v 1.27 2010/04/06 14:12:10 stsp Exp $ */
+/* $OpenBSD: nd6.h,v 1.28 2011/04/03 13:56:05 stsp Exp $ */
/* $KAME: nd6.h,v 1.95 2002/06/08 11:31:06 itojun Exp $ */
/*
@@ -267,7 +267,7 @@ struct nd_prefix {
/* list of routers that advertise the prefix: */
LIST_HEAD(pr_rtrhead, nd_pfxrouter) ndpr_advrtrs;
u_char ndpr_plen;
- int ndpr_refcnt; /* reference couter from addresses */
+ int ndpr_refcnt; /* reference counter from addresses */
};
#define ndpr_next ndpr_entry.le_next