summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bgpd/bgp_attr.c2
-rw-r--r--bgpd/bgp_ecommunity.c2
-rw-r--r--bgpd/bgp_lcommunity.c2
-rw-r--r--bgpd/bgp_route.c4
-rw-r--r--ripd/ripd.h2
5 files changed, 6 insertions, 6 deletions
diff --git a/bgpd/bgp_attr.c b/bgpd/bgp_attr.c
index df03e9a34d..118931a4df 100644
--- a/bgpd/bgp_attr.c
+++ b/bgpd/bgp_attr.c
@@ -847,7 +847,7 @@ struct attr *bgp_attr_intern(struct attr *attr)
struct lcommunity *lcomm = NULL;
struct community *comm = NULL;
- /* Intern referenced strucutre. */
+ /* Intern referenced structure. */
if (attr->aspath) {
if (!attr->aspath->refcnt)
attr->aspath = aspath_intern(attr->aspath);
diff --git a/bgpd/bgp_ecommunity.c b/bgpd/bgp_ecommunity.c
index 08caa24a1b..4120524e63 100644
--- a/bgpd/bgp_ecommunity.c
+++ b/bgpd/bgp_ecommunity.c
@@ -210,7 +210,7 @@ ecommunity_uniq_sort_internal(struct ecommunity *ecom,
return new;
}
-/* This function takes pointer to Extended Communites strucutre then
+/* This function takes pointer to Extended Communites structure then
* create a new Extended Communities structure by uniq and sort each
* Extended Communities value.
*/
diff --git a/bgpd/bgp_lcommunity.c b/bgpd/bgp_lcommunity.c
index 8720170013..e0cca50d89 100644
--- a/bgpd/bgp_lcommunity.c
+++ b/bgpd/bgp_lcommunity.c
@@ -103,7 +103,7 @@ static bool lcommunity_add_val(struct lcommunity *lcom,
return true;
}
-/* This function takes pointer to Large Communites strucutre then
+/* This function takes pointer to Large Communites structure then
create a new Large Communities structure by uniq and sort each
Large Communities value. */
struct lcommunity *lcommunity_uniq_sort(struct lcommunity *lcom)
diff --git a/bgpd/bgp_route.c b/bgpd/bgp_route.c
index ba2768aff1..7e2cb5c70c 100644
--- a/bgpd/bgp_route.c
+++ b/bgpd/bgp_route.c
@@ -1598,7 +1598,7 @@ static int bgp_input_modifier(struct peer *peer, const struct prefix *p,
/* Route map apply. */
if (rmap) {
memset(&rmap_path, 0, sizeof(struct bgp_path_info));
- /* Duplicate current value to new strucutre for modification. */
+ /* Duplicate current value to new structure for modification. */
rmap_path.peer = peer;
rmap_path.attr = attr;
rmap_path.extra = &extra;
@@ -1655,7 +1655,7 @@ static int bgp_output_modifier(struct peer *peer, const struct prefix *p,
memset(&rmap_path, 0, sizeof(struct bgp_path_info));
/* Route map apply. */
- /* Duplicate current value to new strucutre for modification. */
+ /* Duplicate current value to new structure for modification. */
rmap_path.peer = peer;
rmap_path.attr = attr;
diff --git a/ripd/ripd.h b/ripd/ripd.h
index 85aac985f5..f26dcd8775 100644
--- a/ripd/ripd.h
+++ b/ripd/ripd.h
@@ -526,7 +526,7 @@ extern void rip_cli_init(void);
extern struct zebra_privs_t ripd_privs;
extern struct rip_instance_head rip_instances;
-/* Master thread strucutre. */
+/* Master thread structure. */
extern struct thread_master *master;
DECLARE_HOOK(rip_ifaddr_add, (struct connected * ifc), (ifc));