*: Spelling issues

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
This commit is contained in:
Donald Sharp 2024-08-18 13:29:26 -04:00
parent c5fd6ba2dc
commit 82bbf2e82d
3 changed files with 7 additions and 10 deletions

View file

@ -1607,18 +1607,16 @@ int bgp_path_info_cmp(struct bgp *bgp, struct bgp_path_info *new,
if (ret == 1) { if (ret == 1) {
*reason = bgp_path_selection_neighbor_ip; *reason = bgp_path_selection_neighbor_ip;
if (debug) if (debug)
zlog_debug( zlog_debug("%s: %s loses to %s due to Neighbor IP comparison",
"%s: %s loses to %s due to Neighor IP comparison", pfx_buf, new_buf, exist_buf);
pfx_buf, new_buf, exist_buf);
return 0; return 0;
} }
if (ret == -1) { if (ret == -1) {
*reason = bgp_path_selection_neighbor_ip; *reason = bgp_path_selection_neighbor_ip;
if (debug) if (debug)
zlog_debug( zlog_debug("%s: %s wins over %s due to Neighbor IP comparison",
"%s: %s wins over %s due to Neighor IP comparison", pfx_buf, new_buf, exist_buf);
pfx_buf, new_buf, exist_buf);
return 1; return 1;
} }

View file

@ -1078,9 +1078,8 @@ static void ospf_external_aggr_timer(struct ospf *ospf,
if (ospf->aggr_action == OSPF_ROUTE_AGGR_ADD) { if (ospf->aggr_action == OSPF_ROUTE_AGGR_ADD) {
if (IS_DEBUG_OSPF(lsa, EXTNL_LSA_AGGR)) if (IS_DEBUG_OSPF(lsa, EXTNL_LSA_AGGR))
zlog_debug( zlog_debug("%s: Not required to restart timer,set is already added.",
"%s: Not required to retsart timer,set is already added.", __func__);
__func__);
return; return;
} }

View file

@ -333,7 +333,7 @@ module ietf-bgp-types {
// TODO: needs more work to make this more precise given the // TODO: needs more work to make this more precise given the
// variability of extended community attribute specifications // variability of extended community attribute specifications
// 8-octet value: // 8-octet value:
// <type> 2 octects // <type> 2 octets
// <value> 6 octets // <value> 6 octets
type union { type union {