ospfd: Fix spelling mistakes

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
This commit is contained in:
Donald Sharp 2022-02-14 12:53:16 -05:00
parent bbf5104c5b
commit 1461559c24
5 changed files with 10 additions and 10 deletions

View file

@ -207,7 +207,7 @@ struct ospf_lsa *ospf_external_info_find_lsa(struct ospf *ospf,
struct as_external_lsa *al; struct as_external_lsa *al;
struct in_addr mask, id; 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 * where all the host bits are set, if there a matched
* LSA, return. * LSA, return.
* Ex: For route 10.0.0.0/16, LSID is 10.0.255.255 * 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); ospf_link_ei_to_aggr(aggr, ei);
lsa = ospf_external_info_find_lsa(ospf, &aggr->p); 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 it is configured not to advertise.
*/ */
if (CHECK_FLAG(aggr->flags, OSPF_EXTERNAL_AGGRT_NO_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 /* Handling the case where the external route prefix
* and aggregate prefix is same * 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 (prefix_same((struct prefix *)&aggr->p, (struct prefix *)&ei->p)) {
if (IS_DEBUG_OSPF(lsa, EXTNL_LSA_AGGR)) if (IS_DEBUG_OSPF(lsa, EXTNL_LSA_AGGR))
zlog_debug( 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); __func__, &ei->p.prefix, ei->p.prefixlen);
return; return;
} }

View file

@ -847,8 +847,8 @@ void ospf_gr_helper_support_set(struct ospf *ospf, bool support)
lookup.advRtrAddr.s_addr = lookup.advRtrAddr.s_addr =
nbr->router_id.s_addr; nbr->router_id.s_addr;
/* check if helper support enabled for the /* check if helper support enabled for the
* corresponding routerid.If enabled, dont * corresponding routerid.If enabled, don't
* dont exit from helper role. * exit from helper role.
*/ */
if (hash_lookup(ospf->enable_rtr_list, &lookup)) if (hash_lookup(ospf->enable_rtr_list, &lookup))
continue; continue;

View file

@ -10398,7 +10398,7 @@ DEFPY (show_ip_ospf_gr_helper,
"All VRFs\n" "All VRFs\n"
"OSPF Graceful Restart\n" "OSPF Graceful Restart\n"
"Helper details in the router\n" "Helper details in the router\n"
"Detailed informtion\n" "Detailed information\n"
JSON_STR) JSON_STR)
{ {
char *vrf_name = NULL; char *vrf_name = NULL;
@ -11500,7 +11500,7 @@ DEFUN (show_ip_ospf_external_aggregator,
VRF_CMD_HELP_STR VRF_CMD_HELP_STR
"All VRFs\n" "All VRFs\n"
"Show external summary addresses\n" "Show external summary addresses\n"
"Detailed informtion\n" "Detailed information\n"
JSON_STR) JSON_STR)
{ {
char *vrf_name = NULL; char *vrf_name = NULL;

View file

@ -1380,7 +1380,7 @@ static int ospf_zebra_read_route(ZAPI_CALLBACK_ARGS)
/* Handling the case where the /* Handling the case where the
* external route prefix * external route prefix
* and aggegate prefix is same * and aggegate prefix is same
* If same dont flush the * If same don't flush the
* originated * originated
* external LSA. * external LSA.
*/ */

View file

@ -1089,7 +1089,7 @@ struct ospf_interface *add_ospf_interface(struct connected *co,
ospf_ldp_sync_if_init(oi); 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. * interfaces.
* ospf_router_id_update() will call ospf_if_update * ospf_router_id_update() will call ospf_if_update
* whenever r-id is configured instead. * whenever r-id is configured instead.