forked from Mirror/frr
ospfd: Fix spelling mistakes
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
This commit is contained in:
parent
bbf5104c5b
commit
1461559c24
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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.
|
||||
*/
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue