summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2024-08-18 19:29:26 +0200
committerDonald Sharp <sharpd@nvidia.com>2024-08-18 22:15:56 +0200
commit82bbf2e82d70d914af15eca61f185be22d950c47 (patch)
treeaa2e3597cd4ba3d12a41a2531b2f964625e8dc19
parentMerge pull request #16602 from LabNConsulting/chopps/fix-warnings (diff)
downloadfrr-82bbf2e82d70d914af15eca61f185be22d950c47.tar.xz
frr-82bbf2e82d70d914af15eca61f185be22d950c47.zip
*: Spelling issues
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
-rw-r--r--bgpd/bgp_route.c10
-rw-r--r--ospfd/ospf_asbr.c5
-rw-r--r--yang/ietf/ietf-bgp-types.yang2
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:
- // <type> 2 octects
+ // <type> 2 octets
// <value> 6 octets
type union {