]> git.puffer.fish Git - mirror/frr.git/commitdiff
ospf6d: fix typos
authorckishimo <carles.kishimoto@gmail.com>
Mon, 10 Jan 2022 13:56:34 +0000 (14:56 +0100)
committerckishimo <carles.kishimoto@gmail.com>
Tue, 11 Jan 2022 10:03:30 +0000 (11:03 +0100)
Signed-off-by: ckishimo <carles.kishimoto@gmail.com>
ospf6d/ospf6_abr.c
ospf6d/ospf6_nssa.c

index 663b9b79821d057c7b8e4238e3ac53a86abee5b7..443759344e963b9fc5376146fe4e9f2847c30771 100644 (file)
@@ -1176,7 +1176,7 @@ void ospf6_abr_examin_summary(struct ospf6_lsa *lsa, struct ospf6_area *oa)
                if (lsa->header->adv_router == router_lsa->router_id) {
                        if (is_debug)
                                zlog_debug(
-                                       "Ignorning Inter-Router LSA for an ABR (%s)",
+                                       "Ignoring Inter-Router LSA for an ABR (%s)",
                                        buf);
                        if (old)
                                ospf6_route_remove(old, table);
index 36c4e7043980e0236fe8be3a8f0c528299ffaca7..57d252ff9af646de9b9680ec69b0169aec9140e6 100644 (file)
@@ -135,7 +135,7 @@ static void ospf6_flush_translated_lsa(struct ospf6_area *area)
                zlog_debug("%s: finish area %s", __func__, area->name);
 }
 
-/* Check NSSA status for all nssa areas*/
+/* Check NSSA status for all nssa areas */
 void ospf6_abr_nssa_check_status(struct ospf6 *ospf6)
 {
        struct ospf6_area *area;
@@ -404,7 +404,7 @@ static void ospf6_abr_unapprove_translates(struct ospf6 *ospf6)
                zlog_debug("%s: Stop", __func__);
 }
 
-/* Generate the translated external lsa  from NSSA lsa */
+/* Generate the translated external lsa from NSSA lsa */
 static struct ospf6_lsa *ospf6_lsa_translated_nssa_new(struct ospf6_area *area,
                                                       struct ospf6_lsa *type7)
 {
@@ -536,10 +536,10 @@ static void ospf6_ls_retransmit_delete_nbr_as(struct ospf6 *ospf6,
                ospf6_flood_clear_area(lsa, area);
 
        if (IS_OSPF6_DEBUG_NSSA)
-               zlog_debug("%s : finish  lsa %s", __func__, lsa->name);
+               zlog_debug("%s : finish lsa %s", __func__, lsa->name);
 }
 
-/* Refresh translated  AS-external-LSA. */
+/* Refresh translated AS-external-LSA. */
 struct ospf6_lsa *ospf6_translated_nssa_refresh(struct ospf6_area *area,
                                                struct ospf6_lsa *type7,
                                                struct ospf6_lsa *type5)
@@ -614,7 +614,7 @@ struct ospf6_lsa *ospf6_translated_nssa_refresh(struct ospf6_area *area,
 
 static void ospf6_abr_translate_nssa(struct ospf6_area *area, struct ospf6_lsa *lsa)
 {
-       /* Incoming Type-7 or later aggregated Type-7
+       /* Incoming Type-7 or aggregated Type-7
         *
         * LSA is skipped if P-bit is off.
         *
@@ -706,7 +706,7 @@ static void ospf6_abr_translate_nssa(struct ospf6_area *area, struct ospf6_lsa *
 static void ospf6_abr_process_nssa_translates(struct ospf6 *ospf6)
 {
        /* Scan through all NSSA_LSDB records for all areas;
-        * If P-bit is on, translate all Type-7's to 5's and aggregate or\
+        * If P-bit is on, translate all Type-7's to 5's and aggregate or
         * flood install as approved in Type-5 LSDB with XLATE Flag on
         * later, do same for all aggregates...  At end, DISCARD all
         * remaining UNAPPROVED Type-5's (Aggregate is for future ) */
@@ -738,7 +738,7 @@ static void ospf6_abr_process_nssa_translates(struct ospf6 *ospf6)
                type = htons(OSPF6_LSTYPE_TYPE_7);
                for (ALL_LSDB_TYPED(oa->lsdb, type, lsa)) {
                        zlog_debug("%s : lsa %s , id %pI4 , adv router %pI4",
-                                  lsa->name, __func__, &lsa->header->id,
+                                  __func__, lsa->name, &lsa->header->id,
                                   &lsa->header->adv_router);
                        ospf6_abr_translate_nssa(oa, lsa);
                }
@@ -1374,7 +1374,7 @@ DEFPY (no_area_nssa_range,
        range = ospf6_route_lookup((struct prefix *)prefix,
                                   oa->nssa_range_table);
        if (range == NULL) {
-               vty_out(vty, "%% range %s does not exists.\n", prefix_str);
+               vty_out(vty, "%% range %s does not exist.\n", prefix_str);
                return CMD_SUCCESS;
        }