]> git.puffer.fish Git - matthieu/frr.git/commitdiff
*: Fix spelling errors found
authorDonald Sharp <sharpd@nvidia.com>
Wed, 14 Aug 2024 20:53:09 +0000 (16:53 -0400)
committerDonald Sharp <sharpd@nvidia.com>
Thu, 15 Aug 2024 13:19:37 +0000 (09:19 -0400)
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
doc/manpages/bfd-options.rst
doc/user/bfd.rst
lib/routemap_cli.c
lib/vty.c
mgmtd/mgmt.c
mgmtd/mgmt_be_adapter.c
mgmtd/mgmt_txn.c
ospfd/ospf_abr.c
ospfd/ospf_vty.c
zebra/rtadv.c

index 2bad5f1521ad6885688da5a90294325ca6650661..3f109162073084ee53f0d0267ba178fc2506dcf0 100644 (file)
@@ -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
index 5c5584e28f18d8bc869ac00fc032dcca3fc0b469..4c142cfbbb06e57f46b8833f862feeeb7aa14ca6 100644 (file)
@@ -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
index 8e2e497e0940026c243d5c8d86728d93269d205d..f22d5880807c039c5bd9813b4c4197c66d33d011 100644 (file)
@@ -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']";
index d0bbf0e61a5c43249c3aec78e282fe0aaa0949ec..0a4a3d2b86a398f25b20b64d0c1267895afac25f 100644 (file)
--- 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);
 
index 8d41643065362f83428703236dd5fe04c03029bc..fe0357e7e4ce9294a8d3fd157c762d23ca723368 100644 (file)
@@ -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.  */
index c7f4fb9d844d4f35df4c9d47e6e681b38fa7966b..f1c5424d0a1ef6289280ac749adb4dbb9f3983ba 100644 (file)
@@ -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);
index 0f0cccbbd43a8356260ab4189ccf67e8d6436d56..ed133243a1a3b8a33fc3274c60b61e9b785d50b9 100644 (file)
@@ -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;
        }
 }
index 28d526870b805cc923dffc9565cbc0b87918d032..93779991b5fdd4c0924468d0306350dcf4c4390d 100644 (file)
@@ -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) &&
index 7a7a684dd6f678d7b3264e2f2f5a03ba546fff27..bfb935b132f891ba1dec4eb1cda254564a62cf3d 100644 (file)
@@ -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);
index 470391de9be2924181b9c7cf54c81535adb8604a..8f6713517d35472418cdb6fb7dc749f22d50f2e1 100644 (file)
@@ -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);