]> git.puffer.fish Git - matthieu/frr.git/commitdiff
ospfd: Fix spelling mistakes
authorDonald Sharp <sharpd@nvidia.com>
Mon, 14 Feb 2022 17:53:16 +0000 (12:53 -0500)
committerDonald Sharp <sharpd@nvidia.com>
Mon, 14 Feb 2022 17:53:16 +0000 (12:53 -0500)
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
ospfd/ospf_asbr.c
ospfd/ospf_gr_helper.c
ospfd/ospf_vty.c
ospfd/ospf_zebra.c
ospfd/ospfd.c

index f44e1dde82737b40941c11dadbd978d7bc226a23..db78e6d2df7c8225e69c5b2b3692518c1bb0dac3 100644 (file)
@@ -207,7 +207,7 @@ struct ospf_lsa *ospf_external_info_find_lsa(struct ospf *ospf,
        struct as_external_lsa *al;
        struct in_addr mask, id;
 
-       /* Fisrt search the lsdb with address specifc LSID
+       /* First search the lsdb with address specific LSID
         * where all the host bits are set, if there a matched
         * LSA, return.
         * Ex: For route 10.0.0.0/16, LSID is 10.0.255.255
@@ -630,7 +630,7 @@ struct ospf_lsa *ospf_originate_summary_lsa(struct ospf *ospf,
        ospf_link_ei_to_aggr(aggr, ei);
 
        lsa = ospf_external_info_find_lsa(ospf, &aggr->p);
-       /* Dont originate external LSA,
+       /* Don't originate external LSA,
         * If it is configured not to advertise.
         */
        if (CHECK_FLAG(aggr->flags, OSPF_EXTERNAL_AGGRT_NO_ADVERTISE)) {
@@ -787,12 +787,12 @@ static void ospf_handle_aggregated_exnl_rt(struct ospf *ospf,
 
        /* Handling the case where the external route prefix
         * and aggregate prefix is same
-        * If same dont flush the originated external LSA.
+        * If same don't flush the originated external LSA.
         */
        if (prefix_same((struct prefix *)&aggr->p, (struct prefix *)&ei->p)) {
                if (IS_DEBUG_OSPF(lsa, EXTNL_LSA_AGGR))
                        zlog_debug(
-                               "%s: External Route prefix same as Aggregator(%pI4/%d), so dont flush.",
+                               "%s: External Route prefix same as Aggregator(%pI4/%d), so don't flush.",
                                __func__, &ei->p.prefix, ei->p.prefixlen);
                return;
        }
index ae002fdc9755c94d08642f33927d9c4f932d65ed..5eca59175486a6f4740c6a8faaf8eb81df317fde 100644 (file)
@@ -847,8 +847,8 @@ void ospf_gr_helper_support_set(struct ospf *ospf, bool support)
                                lookup.advRtrAddr.s_addr =
                                        nbr->router_id.s_addr;
                                /* check if helper support enabled for the
-                                * corresponding routerid.If enabled, dont
-                                * dont exit from helper role.
+                                * corresponding routerid.If enabled, don't
+                                * exit from helper role.
                                 */
                                if (hash_lookup(ospf->enable_rtr_list, &lookup))
                                        continue;
index 32d87b9a9183e0541c45b13006531dead835afd0..0b7c3c6831cd5a3643ce5d3d859063659df1bbfb 100644 (file)
@@ -10398,7 +10398,7 @@ DEFPY (show_ip_ospf_gr_helper,
        "All VRFs\n"
        "OSPF Graceful Restart\n"
        "Helper details in the router\n"
-       "Detailed informtion\n"
+       "Detailed information\n"
        JSON_STR)
 {
        char *vrf_name = NULL;
@@ -11500,7 +11500,7 @@ DEFUN (show_ip_ospf_external_aggregator,
        VRF_CMD_HELP_STR
        "All VRFs\n"
        "Show external summary addresses\n"
-       "Detailed informtion\n"
+       "Detailed information\n"
        JSON_STR)
 {
        char *vrf_name = NULL;
index 7834b7d9344cbf319e4fe6eba9e6ce3a6c9ae676..66b7425a81793ca4452bf26a579d3f6e8beeda7d 100644 (file)
@@ -1380,7 +1380,7 @@ static int ospf_zebra_read_route(ZAPI_CALLBACK_ARGS)
                                        /* Handling the case where the
                                         * external route prefix
                                         * and aggegate prefix is same
-                                        * If same dont flush the
+                                        * If same don't flush the
                                         * originated
                                         * external LSA.
                                         */
index e5f3eec60378a624cbad3fa16aedeae4faae3f2a..b1bba9eb4e73677f25c070df3411accbed16a827 100644 (file)
@@ -1089,7 +1089,7 @@ struct ospf_interface *add_ospf_interface(struct connected *co,
        ospf_ldp_sync_if_init(oi);
 
        /*
-        * if router_id is not configured, dont bring up
+        * if router_id is not configured, don't bring up
         * interfaces.
         * ospf_router_id_update() will call ospf_if_update
         * whenever r-id is configured instead.