summaryrefslogtreecommitdiffstats
path: root/src/vnet/interface.c
diff options
context:
space:
mode:
authorPaul Vinciguerra <pvinci@vinciconsulting.com>2018-09-22 05:32:50 -0700
committerDamjan Marion <dmarion@me.com>2018-09-24 08:08:03 +0000
commitbdc0e6b7204ea0211d4f7881497e4306586fb9ef (patch)
tree199b4da1aea679f0626451692a57476a70286524 /src/vnet/interface.c
parent6a4375e02d8dd4ebcc2f79ee9f6abbafdd2f674c (diff)
Trivial: Clean up some typos.
Change-Id: I085615fde1f966490f30ed5d32017b8b088cfd59 Signed-off-by: Paul Vinciguerra <pvinci@vinciconsulting.com>
Diffstat (limited to 'src/vnet/interface.c')
-rw-r--r--src/vnet/interface.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/vnet/interface.c b/src/vnet/interface.c
index e04ba9b10af..60f11bc3957 100644
--- a/src/vnet/interface.c
+++ b/src/vnet/interface.c
@@ -425,7 +425,7 @@ vnet_sw_interface_set_flags_helper (vnet_main_t * vnm, u32 sw_if_index,
}
}
- /* Donot change state for slave link of bonded interfaces */
+ /* Do not change state for slave link of bonded interfaces */
if (si->flags & VNET_SW_INTERFACE_FLAG_BOND_SLAVE)
{
error = clib_error_return
@@ -1366,7 +1366,7 @@ vnet_interface_init (vlib_main_t * vm)
vlib_node_fn_registration_t *fnr = c->tx_fn_registrations;
int priority = -1;
- /* to avoid confusion, please remove ".tx_function" statiement
+ /* to avoid confusion, please remove ".tx_function" statement
from VNET_DEVICE_CLASS() if using function candidates */
ASSERT (c->tx_function == 0);
@@ -1652,7 +1652,7 @@ default_update_adjacency (vnet_main_t * vnm, u32 sw_if_index, u32 ai)
case IP_LOOKUP_NEXT_ARP:
case IP_LOOKUP_NEXT_BCAST:
/*
- * default rewirte in neighbour adj
+ * default rewrite in neighbour adj
*/
adj_nbr_update_rewrite
(ai,