summaryrefslogtreecommitdiff
path: root/ospf6d/ospf6_nssa.c
diff options
context:
space:
mode:
authorckishimo <carles.kishimoto@gmail.com>2022-01-10 14:56:34 +0100
committerckishimo <carles.kishimoto@gmail.com>2022-01-11 11:03:30 +0100
commit416721d942eb31da224788e27ffe9195a01b52da (patch)
tree89fdf43eba3eeb8c2f720bb8a765de1e8ea49a12 /ospf6d/ospf6_nssa.c
parentd8da8a4afc044a1c414c369c8f3c33629ecb556a (diff)
ospf6d: fix typos
Signed-off-by: ckishimo <carles.kishimoto@gmail.com>
Diffstat (limited to 'ospf6d/ospf6_nssa.c')
-rw-r--r--ospf6d/ospf6_nssa.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/ospf6d/ospf6_nssa.c b/ospf6d/ospf6_nssa.c
index 36c4e70439..57d252ff9a 100644
--- a/ospf6d/ospf6_nssa.c
+++ b/ospf6d/ospf6_nssa.c
@@ -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;
}