]> git.puffer.fish Git - mirror/frr.git/commitdiff
*: Fix spelling of accomodate
authorDonald Sharp <sharpd@nvidia.com>
Tue, 19 Apr 2022 12:29:58 +0000 (08:29 -0400)
committerDonald Sharp <sharpd@nvidia.com>
Tue, 19 Apr 2022 12:29:58 +0000 (08:29 -0400)
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
doc/developer/static-linking.rst
isisd/isis_pdu.c
isisd/isis_pdu.h
ospfd/ospf_lsa.c
ospfd/ospf_packet.c
pimd/pim_bsm.c
zebra/zebra_fpm_netlink.c

index 1e45c48dc3d18aa58969c1cacae5c54197dbc3f9..5342fbfbf673023e71aca47ac25e79a6f285693a 100644 (file)
@@ -64,7 +64,7 @@ like this:
 Hopefully you get a nice, usable, PIC ``libpcre.a``.
 
 So now we have to link all these static libraries into FRR. Rather than modify
-FRR to accomodate this, the best option is to create an archive with all of
+FRR to accommodate this, the best option is to create an archive with all of
 libyang's dependencies. Then to avoid making any changes to FRR build foo,
 rename this ``libyang.a`` and copy it over the usual static library location.
 Ugly but it works. To do this, go into your libyang build directory, which
index 1a54d47f3c104ab71de248f6a231838632b7dc24..016efd5cd7a802f645eaad7cbe27b62b76a47d5d 100644 (file)
@@ -2103,7 +2103,7 @@ void send_hello_sched(struct isis_circuit *circuit, int level, long delay)
 
 
 /*
- * Count the maximum number of lsps that can be accomodated by a given size.
+ * Count the maximum number of lsps that can be accommodated by a given size.
  */
 #define LSP_ENTRIES_LEN (10 + ISIS_SYS_ID_LEN)
 static uint16_t get_max_lsp_count(uint16_t size)
index b2e43781f69da6cc7bd5ee1cde97c443e3ce8149..b4018995d5a82806e714ec89b3797e2f6565a38b 100644 (file)
@@ -142,7 +142,7 @@ struct isis_lsp_hdr {
 /*
  * Since the length field of LSP Entries TLV is one byte long, and each LSP
  * entry is LSP_ENTRIES_LEN (16) bytes long, the maximum number of LSP entries
- * can be accomodated in a TLV is
+ * can be accommodated in a TLV is
  * 255 / 16 = 15.
  *
  * Therefore, the maximum length of the LSP Entries TLV is
index de146a1665de62569ba6a8beac28e1838d43af63..59e1b73d24cd8aa88c86134a012277f640a0b370 100644 (file)
@@ -450,7 +450,7 @@ char link_info_set(struct stream **s, struct in_addr id, struct in_addr data,
        /* LSA stream is initially allocated to OSPF_MAX_LSA_SIZE, suits
         * vast majority of cases. Some rare routers with lots of links need
         * more.
-        * we try accomodate those here.
+        * we try accommodate those here.
         */
        if (STREAM_WRITEABLE(*s) < OSPF_ROUTER_LSA_LINK_SIZE) {
                size_t ret = OSPF_MAX_LSA_SIZE;
index c11321949ce5c5c467fe723206eaaa95d5241c9f..55a010a293f7fb4f26679d03b4033c7458142b10 100644 (file)
@@ -3515,7 +3515,7 @@ static int ospf_make_ls_req_func(struct stream *s, uint16_t *length,
        /* LS Request packet overflows interface MTU
         * delta is just number of bytes required for 1 LS Req
         * ospf_packet_max will return the number of bytes can
-        * be accomodated without ospf header. So length+delta
+        * be accommodated without ospf header. So length+delta
         * can be compared to ospf_packet_max
         * to check if it can fit another lsreq in the same packet.
         */
@@ -3649,7 +3649,7 @@ static int ospf_make_ls_ack(struct ospf_interface *oi, struct list *ack,
                /* LS Ack packet overflows interface MTU
                 * delta is just number of bytes required for
                 * 1 LS Ack(1 LS Hdr) ospf_packet_max will return
-                * the number of bytes can be accomodated without
+                * the number of bytes can be accommodated without
                 * ospf header. So length+delta can be compared
                 * against ospf_packet_max to check if it can fit
                 * another ls header in the same packet.
@@ -3966,7 +3966,7 @@ void ospf_ls_upd_send_lsa(struct ospf_neighbor *nbr, struct ospf_lsa *lsa,
        list_delete(&update);
 }
 
-/* Determine size for packet. Must be at least big enough to accomodate next
+/* Determine size for packet. Must be at least big enough to accommodate next
  * LSA on list, which may be bigger than MTU size.
  *
  * Return pointer to new ospf_packet
index 90d873b0a31256d94939a3b1905d97a166f43e5b..003ce47432c6f1a046ad33802343950bdb7a89e5 100644 (file)
@@ -849,9 +849,9 @@ static bool pim_bsm_frag_send(uint8_t *buf, uint32_t len, struct interface *ifp,
                                this_pkt_rem = pim_mtu - (PIM_BSM_HDR_LEN
                                                          + PIM_MSG_HEADER_LEN);
 
-                               /* If pkt can't accomodate next group + at least
-                                * one rp, we must break out of this inner loop
-                                * and process next RP
+                               /* If pkt can't accommodate next group + at
+                                * least one rp, we must break out of this inner
+                                * loop and process next RP
                                 */
                                if (total_rp_cnt == this_rp_cnt)
                                        break;
index ec22c5dd484bf06c0fafef2f43ec6c45dc773091..d4aced47f93ee3a496f29e56f3977e3d6c0b7bb0 100644 (file)
@@ -398,7 +398,7 @@ static int netlink_route_info_encode(struct netlink_route_info *ri,
        req->r.rtm_family = ri->af;
 
        /*
-        * rtm_table field is a uchar field which can accomodate table_id less
+        * rtm_table field is a uchar field which can accommodate table_id less
         * than 256.
         * To support table id greater than 255, if the table_id is greater than
         * 255, set rtm_table to RT_TABLE_UNSPEC and add RTA_TABLE attribute