summaryrefslogtreecommitdiffstats
path: root/src/plugins/gbp/gbp_vxlan.h
diff options
context:
space:
mode:
authorPaul Vinciguerra <pvinci@vinciconsulting.com>2020-12-28 02:34:30 +0000
committerOle Tr�an <otroan@employees.org>2021-02-09 18:34:18 +0000
commit447d55b86c3cff97c57c6b6c44cedb53667da397 (patch)
treec726709aa9ae2fa63d49c5e1a165caeda016e92d /src/plugins/gbp/gbp_vxlan.h
parentb552ff2e939b8c058c4f11b311b932c4f198cb89 (diff)
gbp: fix typo in macro
Type: fix Change-Id: I1f8245e8cccacb5bbb511aef39e31d0a76bba95f Signed-off-by: Paul Vinciguerra <pvinci@vinciconsulting.com>
Diffstat (limited to 'src/plugins/gbp/gbp_vxlan.h')
-rw-r--r--src/plugins/gbp/gbp_vxlan.h10
1 files changed, 5 insertions, 5 deletions
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)
*/