summaryrefslogtreecommitdiff
path: root/sys/netmpls
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2021-03-10 10:21:50 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2021-03-10 10:21:50 +0000
commit0f9485f602aa01a24ccba783905b2e6359d196c3 (patch)
tree3b90135b2259d345d0c1516cba66c7813e59b211 /sys/netmpls
parentcb903f575ecd4b1e917c41cf2a60b844f7107424 (diff)
spelling
ok gnezdo@ semarie@ mpi@
Diffstat (limited to 'sys/netmpls')
-rw-r--r--sys/netmpls/mpls.h4
-rw-r--r--sys/netmpls/mpls_input.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/netmpls/mpls.h b/sys/netmpls/mpls.h
index 36bea7c8eab..a1d4fee78d3 100644
--- a/sys/netmpls/mpls.h
+++ b/sys/netmpls/mpls.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: mpls.h,v 1.44 2020/08/19 19:22:53 gnezdo Exp $ */
+/* $OpenBSD: mpls.h,v 1.45 2021/03/10 10:21:49 jsg Exp $ */
/*
* Copyright (C) 1999, 2000 and 2001 AYAME Project, WIDE Project.
@@ -69,7 +69,7 @@ struct shim_hdr {
#define MPLS_BOS_ISSET(l) (((l) & MPLS_BOS_MASK) == MPLS_BOS_MASK)
-/* Reserved lavel values (RFC3032) */
+/* Reserved label values (RFC3032) */
#define MPLS_LABEL_IPV4NULL 0 /* IPv4 Explicit NULL Label */
#define MPLS_LABEL_RTALERT 1 /* Router Alert Label */
#define MPLS_LABEL_IPV6NULL 2 /* IPv6 Explicit NULL Label */
diff --git a/sys/netmpls/mpls_input.c b/sys/netmpls/mpls_input.c
index c1be874461d..1265056a036 100644
--- a/sys/netmpls/mpls_input.c
+++ b/sys/netmpls/mpls_input.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mpls_input.c,v 1.76 2020/01/24 05:14:52 jsg Exp $ */
+/* $OpenBSD: mpls_input.c,v 1.77 2021/03/10 10:21:49 jsg Exp $ */
/*
* Copyright (c) 2008 Claudio Jeker <claudio@openbsd.org>
@@ -413,7 +413,7 @@ mpls_do_error(struct mbuf *m, int type, int code, int destmtu)
return (NULL);
ip = mtod(m, struct ip *);
- /* stuff to fix up which is normaly done in ip_output */
+ /* stuff to fix up which is normally done in ip_output */
ip->ip_v = IPVERSION;
ip->ip_id = htons(ip_randomid());
ip->ip_sum = 0;