summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2024-08-14 22:53:09 +0200
committerDonald Sharp <sharpd@nvidia.com>2024-08-15 15:19:37 +0200
commitbaa0a1df5b51160e9b6d4caebcdd2c72ecbbadc5 (patch)
tree6bbaccb8dd79ebbebe8d26484bbc1e3a5fda44b3
parentMerge pull request #16585 from pguibert6WIND/prd_pretty_mt_fix (diff)
downloadfrr-baa0a1df5b51160e9b6d4caebcdd2c72ecbbadc5.tar.xz
frr-baa0a1df5b51160e9b6d4caebcdd2c72ecbbadc5.zip
*: Fix spelling errors found
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
-rw-r--r--doc/manpages/bfd-options.rst2
-rw-r--r--doc/user/bfd.rst2
-rw-r--r--lib/routemap_cli.c2
-rw-r--r--lib/vty.c4
-rw-r--r--mgmtd/mgmt.c4
-rw-r--r--mgmtd/mgmt_be_adapter.c2
-rw-r--r--mgmtd/mgmt_txn.c2
-rw-r--r--ospfd/ospf_abr.c9
-rw-r--r--ospfd/ospf_vty.c2
-rw-r--r--zebra/rtadv.c2
10 files changed, 15 insertions, 16 deletions
diff --git a/doc/manpages/bfd-options.rst b/doc/manpages/bfd-options.rst
index 2bad5f152..3f1091620 100644
--- a/doc/manpages/bfd-options.rst
+++ b/doc/manpages/bfd-options.rst
@@ -24,7 +24,7 @@ The following options controls the BFD daemon auxiliary sockets.
``--dplaneaddr ipv6:[::1]:50701``
- (if ommited the default port is ``50700``).
+ (if omitted the default port is ``50700``).
It is also possible to operate in client mode (instead of listening for
connections). To connect to a data plane server append the letter 'c' to
diff --git a/doc/user/bfd.rst b/doc/user/bfd.rst
index 5c5584e28..4c142cfbb 100644
--- a/doc/user/bfd.rst
+++ b/doc/user/bfd.rst
@@ -66,7 +66,7 @@ may also be specified (:ref:`common-invocation-options`).
--dplaneaddr ipv6:[::1]:50701
- (if ommited the default port is ``50700``).
+ (if omitted the default port is ``50700``).
It is also possible to operate in client mode (instead of listening for
connections). To connect to a data plane server append the letter 'c' to
diff --git a/lib/routemap_cli.c b/lib/routemap_cli.c
index 8e2e497e0..f22d58808 100644
--- a/lib/routemap_cli.c
+++ b/lib/routemap_cli.c
@@ -937,7 +937,7 @@ DEFPY_YANG(no_set_min_metric, no_set_min_metric_cmd,
"no set min-metric [(0-4294967295)]",
NO_STR SET_STR
"Minimum metric value for destination routing protocol\n"
- "Minumum metric value\n")
+ "Minimum metric value\n")
{
const char *xpath =
"./set-action[action='frr-route-map:set-min-metric']";
diff --git a/lib/vty.c b/lib/vty.c
index d0bbf0e61..0a4a3d2b8 100644
--- a/lib/vty.c
+++ b/lib/vty.c
@@ -3903,7 +3903,7 @@ static int vty_mgmt_error_notified(struct mgmt_fe_client *client,
const char *cname = mgmt_fe_client_name(client);
if (!vty->mgmt_req_pending_cmd) {
- debug_fe_client("Erorr with no pending command: %d returned for client %s 0x%" PRIx64
+ debug_fe_client("Error with no pending command: %d returned for client %s 0x%" PRIx64
" session-id %" PRIu64 " req-id %" PRIu64
"error-str %s",
error, cname, client_id, session_id, req_id,
@@ -3914,7 +3914,7 @@ static int vty_mgmt_error_notified(struct mgmt_fe_client *client,
return CMD_WARNING;
}
- debug_fe_client("Erorr %d returned for client %s 0x%" PRIx64
+ debug_fe_client("Error %d returned for client %s 0x%" PRIx64
" session-id %" PRIu64 " req-id %" PRIu64 "error-str %s",
error, cname, client_id, session_id, req_id, errstr);
diff --git a/mgmtd/mgmt.c b/mgmtd/mgmt.c
index 8d4164306..fe0357e7e 100644
--- a/mgmtd/mgmt.c
+++ b/mgmtd/mgmt.c
@@ -15,9 +15,9 @@
#include "mgmtd/mgmt_history.h"
#include "mgmtd/mgmt_memory.h"
-struct debug mgmt_debug_be = {.desc = "Management backend adapater"};
+struct debug mgmt_debug_be = { .desc = "Management backend adapter" };
struct debug mgmt_debug_ds = {.desc = "Management datastore"};
-struct debug mgmt_debug_fe = {.desc = "Management frontend adapater"};
+struct debug mgmt_debug_fe = { .desc = "Management frontend adapter" };
struct debug mgmt_debug_txn = {.desc = "Management transaction"};
/* MGMTD process wide configuration. */
diff --git a/mgmtd/mgmt_be_adapter.c b/mgmtd/mgmt_be_adapter.c
index c7f4fb9d8..f1c5424d0 100644
--- a/mgmtd/mgmt_be_adapter.c
+++ b/mgmtd/mgmt_be_adapter.c
@@ -438,7 +438,7 @@ static int mgmt_be_send_subscr_reply(struct mgmt_be_client_adapter *adapter,
be_msg.message_case = MGMTD__BE_MESSAGE__MESSAGE_SUBSCR_REPLY;
be_msg.subscr_reply = &reply;
- __dbg("Sending SUBSCR_REPLY client: %s sucess: %u", adapter->name,
+ __dbg("Sending SUBSCR_REPLY client: %s success: %u", adapter->name,
success);
return mgmt_be_adapter_send_msg(adapter, &be_msg);
diff --git a/mgmtd/mgmt_txn.c b/mgmtd/mgmt_txn.c
index 0f0cccbbd..ed133243a 100644
--- a/mgmtd/mgmt_txn.c
+++ b/mgmtd/mgmt_txn.c
@@ -2710,7 +2710,7 @@ int mgmt_txn_notify_error(struct mgmt_be_client_adapter *adapter,
case MGMTD_TXN_PROC_GETCFG:
case MGMTD_TXN_COMMITCFG_TIMEOUT:
default:
- assert(!"non-native req event in native erorr path");
+ assert(!"non-native req event in native error path");
return -1;
}
}
diff --git a/ospfd/ospf_abr.c b/ospfd/ospf_abr.c
index 28d526870..93779991b 100644
--- a/ospfd/ospf_abr.c
+++ b/ospfd/ospf_abr.c
@@ -1750,11 +1750,10 @@ static void ospf_abr_announce_non_dna_routers(struct event *thread)
OSPF_LOG_DEBUG(IS_DEBUG_OSPF_EVENT,
"%s: Area %pI4 FR enabled: %d", __func__,
&area->area_id, area->fr_info.enabled);
- OSPF_LOG_DEBUG(
- IS_DEBUG_OSPF_EVENT,
- "LSA with DC bit clear: %d Recived indication LSA: %d",
- area->fr_info.area_dc_clear,
- area->fr_info.area_ind_lsa_recvd);
+ OSPF_LOG_DEBUG(IS_DEBUG_OSPF_EVENT,
+ "LSA with DC bit clear: %d Received indication LSA: %d",
+ area->fr_info.area_dc_clear,
+ area->fr_info.area_ind_lsa_recvd);
OSPF_LOG_DEBUG(IS_DEBUG_OSPF_EVENT, "FR state change: %d",
area->fr_info.state_changed);
if (!OSPF_IS_AREA_BACKBONE(area) &&
diff --git a/ospfd/ospf_vty.c b/ospfd/ospf_vty.c
index 7a7a684dd..bfb935b13 100644
--- a/ospfd/ospf_vty.c
+++ b/ospfd/ospf_vty.c
@@ -9846,7 +9846,7 @@ DEFPY(ip_ospf_prefix_suppression, ip_ospf_prefix_suppression_addr_cmd,
"[no] ip ospf prefix-suppression [A.B.C.D]$ip_addr", NO_STR
"IP Information\n"
"OSPF interface commands\n"
- "Supress OSPF prefix advertisement on this interface\n"
+ "Suppress OSPF prefix advertisement on this interface\n"
"Address of interface\n")
{
VTY_DECLVAR_CONTEXT(interface, ifp);
diff --git a/zebra/rtadv.c b/zebra/rtadv.c
index 470391de9..8f6713517 100644
--- a/zebra/rtadv.c
+++ b/zebra/rtadv.c
@@ -1960,7 +1960,7 @@ uint32_t rtadv_get_interfaces_configured_from_bgp(void)
void rtadv_init(void)
{
if (CMSG_SPACE(sizeof(struct in6_pktinfo)) > RTADV_ADATA_SIZE) {
- zlog_debug("%s: RTADV_ADATA_SIZE choosen will not work on this platform, please use a larger size",
+ zlog_debug("%s: RTADV_ADATA_SIZE chosen will not work on this platform, please use a larger size",
__func__);
exit(-1);