]> git.puffer.fish Git - matthieu/frr.git/commitdiff
*: Fix spelling of strucutre
authorDonald Sharp <sharpd@nvidia.com>
Tue, 19 Apr 2022 12:19:37 +0000 (08:19 -0400)
committerDonald Sharp <sharpd@nvidia.com>
Tue, 19 Apr 2022 12:19:37 +0000 (08:19 -0400)
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
bgpd/bgp_attr.c
bgpd/bgp_ecommunity.c
bgpd/bgp_lcommunity.c
bgpd/bgp_route.c
ripd/ripd.h

index df03e9a34d819d05d001f55ad83e7cd790d2b3a1..118931a4dfba432691715e7a0b8eaff52ce78ef9 100644 (file)
@@ -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);
index 08caa24a1bbfac6fa92e62871056b16519d49a5b..4120524e631f86243422030b64b8ed1c4eb37f66 100644 (file)
@@ -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.
  */
index 8720170013f9527024c2d7d76c4be1a2664beede..e0cca50d897e9a065ccdd1c5a1b34efa2f45e1e9 100644 (file)
@@ -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)
index ba2768aff14eafbfded56038d9ffabec26c0e051..7e2cb5c70c6ecc734b40b5f208e5ad2a4b00834a 100644 (file)
@@ -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;
 
index 85aac985f57adc7e8f3982d9dd1775d587d6fa3d..f26dcd87754d87b9ffef3d30d7f5a3e72117c67b 100644 (file)
@@ -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));