diff options
author | Donald Sharp <sharpd@nvidia.com> | 2022-04-19 14:29:58 +0200 |
---|---|---|
committer | Donald Sharp <sharpd@nvidia.com> | 2022-04-19 14:29:58 +0200 |
commit | f526739897e082b9abaef935a43f92f8b1ea425a (patch) | |
tree | b74651f33bab4c4c3a519776711f2176d6ddc6f5 /ospfd | |
parent | doc: Fix spelling of choosen (diff) | |
download | frr-f526739897e082b9abaef935a43f92f8b1ea425a.tar.xz frr-f526739897e082b9abaef935a43f92f8b1ea425a.zip |
*: Fix spelling of accomodate
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'ospfd')
-rw-r--r-- | ospfd/ospf_lsa.c | 2 | ||||
-rw-r--r-- | ospfd/ospf_packet.c | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/ospfd/ospf_lsa.c b/ospfd/ospf_lsa.c index de146a166..59e1b73d2 100644 --- a/ospfd/ospf_lsa.c +++ b/ospfd/ospf_lsa.c @@ -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; diff --git a/ospfd/ospf_packet.c b/ospfd/ospf_packet.c index c11321949..55a010a29 100644 --- a/ospfd/ospf_packet.c +++ b/ospfd/ospf_packet.c @@ -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 |