summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJim Thompson <jim@netgate.com>2019-04-08 02:19:03 -0500
committerDamjan Marion <dmarion@me.com>2019-04-08 08:40:43 +0000
commit2bc816915965c936d579be60e83105f9cb05c875 (patch)
treeafaa4e0bf6f89da9139d7d77ddfa21726ce880cd /src
parent281ff51396647ae8182cb9b3644940d05e82d227 (diff)
minor spelling errors (both in comments)
Change-Id: I9282a838738d0ba54255bef347abf4735be29820 Signed-off-by: Jim Thompson <jim@netgate.com>
Diffstat (limited to 'src')
-rw-r--r--src/vnet/devices/pipe/pipe.c2
-rw-r--r--src/vnet/mpls/mpls_tunnel.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/vnet/devices/pipe/pipe.c b/src/vnet/devices/pipe/pipe.c
index e1d66a1188a..89932a77668 100644
--- a/src/vnet/devices/pipe/pipe.c
+++ b/src/vnet/devices/pipe/pipe.c
@@ -51,7 +51,7 @@ static pipe_main_t pipe_main;
/*
* The pipe rewrite is the same size as an ethernet header (since it
* is an ethernet interface and the DP is optimised for writing
- * sizeof(ethernet_header_t) rewirtes. Hwoever, there are no MAC addresses
+ * sizeof(ethernet_header_t) rewrites. Hwoever, there are no MAC addresses
* since pipes don't have them.
*/
static u8 *
diff --git a/src/vnet/mpls/mpls_tunnel.c b/src/vnet/mpls/mpls_tunnel.c
index e70f4287360..8db08c3a387 100644
--- a/src/vnet/mpls/mpls_tunnel.c
+++ b/src/vnet/mpls/mpls_tunnel.c
@@ -62,7 +62,7 @@ static u8*
mpls_tunnel_build_rewrite_i (void)
{
/*
- * passing the adj code a NULL rewirte means 'i don't have one cos
+ * passing the adj code a NULL rewrite means 'i don't have one cos
* t'other end is unresolved'. That's not the case here. For the mpls
* tunnel there are just no bytes of encap to apply in the adj. We'll impose
* the label stack once we choose a path. So return a zero length rewrite.