From 82bbf2e82d70d914af15eca61f185be22d950c47 Mon Sep 17 00:00:00 2001 From: Donald Sharp Date: Sun, 18 Aug 2024 13:29:26 -0400 Subject: *: Spelling issues Signed-off-by: Donald Sharp --- bgpd/bgp_route.c | 10 ++++------ ospfd/ospf_asbr.c | 5 ++--- yang/ietf/ietf-bgp-types.yang | 2 +- 3 files changed, 7 insertions(+), 10 deletions(-) diff --git a/bgpd/bgp_route.c b/bgpd/bgp_route.c index 9cc980317..11bb65d35 100644 --- a/bgpd/bgp_route.c +++ b/bgpd/bgp_route.c @@ -1607,18 +1607,16 @@ int bgp_path_info_cmp(struct bgp *bgp, struct bgp_path_info *new, if (ret == 1) { *reason = bgp_path_selection_neighbor_ip; if (debug) - zlog_debug( - "%s: %s loses to %s due to Neighor IP comparison", - pfx_buf, new_buf, exist_buf); + zlog_debug("%s: %s loses to %s due to Neighbor IP comparison", + pfx_buf, new_buf, exist_buf); return 0; } if (ret == -1) { *reason = bgp_path_selection_neighbor_ip; if (debug) - zlog_debug( - "%s: %s wins over %s due to Neighor IP comparison", - pfx_buf, new_buf, exist_buf); + zlog_debug("%s: %s wins over %s due to Neighbor IP comparison", + pfx_buf, new_buf, exist_buf); return 1; } diff --git a/ospfd/ospf_asbr.c b/ospfd/ospf_asbr.c index 9b62f36d7..b47c39008 100644 --- a/ospfd/ospf_asbr.c +++ b/ospfd/ospf_asbr.c @@ -1078,9 +1078,8 @@ static void ospf_external_aggr_timer(struct ospf *ospf, if (ospf->aggr_action == OSPF_ROUTE_AGGR_ADD) { if (IS_DEBUG_OSPF(lsa, EXTNL_LSA_AGGR)) - zlog_debug( - "%s: Not required to retsart timer,set is already added.", - __func__); + zlog_debug("%s: Not required to restart timer,set is already added.", + __func__); return; } diff --git a/yang/ietf/ietf-bgp-types.yang b/yang/ietf/ietf-bgp-types.yang index 9c7a6af76..ed64b78ad 100644 --- a/yang/ietf/ietf-bgp-types.yang +++ b/yang/ietf/ietf-bgp-types.yang @@ -333,7 +333,7 @@ module ietf-bgp-types { // TODO: needs more work to make this more precise given the // variability of extended community attribute specifications // 8-octet value: - // 2 octects + // 2 octets // 6 octets type union { -- cgit v1.2.3