minor spelling errors (both in comments) 27/18727/2
authorJim Thompson <jim@netgate.com>
Mon, 8 Apr 2019 07:19:03 +0000 (02:19 -0500)
committerDamjan Marion <dmarion@me.com>
Mon, 8 Apr 2019 08:40:43 +0000 (08:40 +0000)
Change-Id: I9282a838738d0ba54255bef347abf4735be29820
Signed-off-by: Jim Thompson <jim@netgate.com>
src/vnet/devices/pipe/pipe.c
src/vnet/mpls/mpls_tunnel.c

index e1d66a1..89932a7 100644 (file)
@@ -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 *
index e70f428..8db08c3 100644 (file)
@@ -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.