Skip to content

Commit

Permalink
Merge pull request #16590 from donaldsharp/spelling_in_master
Browse files Browse the repository at this point in the history
*: Fix spelling errors found
  • Loading branch information
mjstapp authored Aug 15, 2024
2 parents 4451f93 + baa0a1d commit fa50fde
Show file tree
Hide file tree
Showing 10 changed files with 15 additions and 16 deletions.
2 changes: 1 addition & 1 deletion doc/manpages/bfd-options.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion doc/user/bfd.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion lib/routemap_cli.c
Original file line number Diff line number Diff line change
Expand Up @@ -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']";
Expand Down
4 changes: 2 additions & 2 deletions lib/vty.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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);

Expand Down
4 changes: 2 additions & 2 deletions mgmtd/mgmt.c
Original file line number Diff line number Diff line change
Expand Up @@ -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. */
Expand Down
2 changes: 1 addition & 1 deletion mgmtd/mgmt_be_adapter.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion mgmtd/mgmt_txn.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
Expand Down
9 changes: 4 additions & 5 deletions ospfd/ospf_abr.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) &&
Expand Down
2 changes: 1 addition & 1 deletion ospfd/ospf_vty.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion zebra/rtadv.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit fa50fde

Please sign in to comment.