sctp(4): Fix typos in source code comments

- s/collasped/collapsed/
- s/defininitions/definitions/
- s/optionaly/optionally/

Obtained from:	NetBSD

(cherry picked from commit 58c99e07506e67c06d703b080c2fc22cc39237f2)
This commit is contained in:
Gordon Bergling 2024-07-21 10:57:22 +02:00
parent eac2a1edab
commit 0ea9f98023

View file

@ -359,7 +359,7 @@ sctp6_ctlinput(struct ip6ctlparam *ip6cp)
}
/*
* this routine can probably be collasped into the one in sctp_userreq.c
* this routine can probably be collapsed into the one in sctp_userreq.c
* since they do the same thing and now we lookup with a sockaddr
*/
static int
@ -721,8 +721,8 @@ connected_type:
* note with the current version this code will only be used
* by OpenBSD, NetBSD and FreeBSD have methods for
* re-defining sosend() to use sctp_sosend(). One can
* optionaly switch back to this code (by changing back the
* defininitions but this is not advisable.
* optionally switch back to this code (by changing back the
* definitions but this is not advisable.
*/
struct epoch_tracker et;
int ret;