From 1461559c24b7c0c81c9c7fe7f21d806a9319e4d7 Mon Sep 17 00:00:00 2001 From: Donald Sharp Date: Mon, 14 Feb 2022 12:53:16 -0500 Subject: [PATCH] ospfd: Fix spelling mistakes Signed-off-by: Donald Sharp --- ospfd/ospf_asbr.c | 8 ++++---- ospfd/ospf_gr_helper.c | 4 ++-- ospfd/ospf_vty.c | 4 ++-- ospfd/ospf_zebra.c | 2 +- ospfd/ospfd.c | 2 +- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/ospfd/ospf_asbr.c b/ospfd/ospf_asbr.c index f44e1dde82..db78e6d2df 100644 --- a/ospfd/ospf_asbr.c +++ b/ospfd/ospf_asbr.c @@ -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; } diff --git a/ospfd/ospf_gr_helper.c b/ospfd/ospf_gr_helper.c index ae002fdc97..5eca591754 100644 --- a/ospfd/ospf_gr_helper.c +++ b/ospfd/ospf_gr_helper.c @@ -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; diff --git a/ospfd/ospf_vty.c b/ospfd/ospf_vty.c index 32d87b9a91..0b7c3c6831 100644 --- a/ospfd/ospf_vty.c +++ b/ospfd/ospf_vty.c @@ -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; diff --git a/ospfd/ospf_zebra.c b/ospfd/ospf_zebra.c index 7834b7d934..66b7425a81 100644 --- a/ospfd/ospf_zebra.c +++ b/ospfd/ospf_zebra.c @@ -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. */ diff --git a/ospfd/ospfd.c b/ospfd/ospfd.c index e5f3eec603..b1bba9eb4e 100644 --- a/ospfd/ospfd.c +++ b/ospfd/ospfd.c @@ -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. -- 2.39.5