aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/gbp/gbp_vxlan.c4
-rw-r--r--src/plugins/gbp/gbp_vxlan.h10
2 files changed, 7 insertions, 7 deletions
diff --git a/src/plugins/gbp/gbp_vxlan.c b/src/plugins/gbp/gbp_vxlan.c
index d3da2b53949..77e4d7ac11b 100644
--- a/src/plugins/gbp/gbp_vxlan.c
+++ b/src/plugins/gbp/gbp_vxlan.c
@@ -25,7 +25,7 @@
/**
* A reference to a VXLAN-GBP tunnel created as a child/dependent tunnel
- * of the tempplate GBP-VXLAN tunnel
+ * of the template GBP-VXLAN tunnel
*/
typedef struct vxlan_tunnel_ref_t_
{
@@ -72,7 +72,7 @@ static vlib_punt_hdl_t punt_hdl;
static char *gbp_vxlan_tunnel_layer_strings[] = {
#define _(n,s) [GBP_VXLAN_TUN_##n] = s,
- forecah_gbp_vxlan_tunnel_layer
+ foreach_gbp_vxlan_tunnel_layer
#undef _
};
diff --git a/src/plugins/gbp/gbp_vxlan.h b/src/plugins/gbp/gbp_vxlan.h
index 6e01dc14d38..706fe2a0e85 100644
--- a/src/plugins/gbp/gbp_vxlan.h
+++ b/src/plugins/gbp/gbp_vxlan.h
@@ -19,14 +19,14 @@
#include <vnet/fib/fib_types.h>
#include <plugins/gbp/gbp_itf.h>
-#define forecah_gbp_vxlan_tunnel_layer \
- _(L2, "l2") \
- _(L3, "l3")
+#define foreach_gbp_vxlan_tunnel_layer \
+ _ (L2, "l2") \
+ _ (L3, "l3")
typedef enum gbp_vxlan_tunnel_layer_t_
{
#define _(s,n) GBP_VXLAN_TUN_##s,
- forecah_gbp_vxlan_tunnel_layer
+ foreach_gbp_vxlan_tunnel_layer
#undef _
} gbp_vxlan_tunnel_layer_t;
@@ -88,7 +88,7 @@ typedef struct gbp_vxlan_tunnel_t_
typedef enum gbp_vxlan_tunnel_type_t_
{
/**
- * This is the object type deifend above.
+ * This is the object type defined above.
* A template representation of a vxlan-gbp tunnel. from this tunnel
* type, real vxlan-gbp tunnels are created (by cloning the VNI)
*/