[SLOF] [PATCH 2/4] Fix typos in the lib/libnet folder

Segher Boessenkool segher at kernel.crashing.org
Thu Feb 23 03:05:59 AEDT 2023


On Wed, Feb 22, 2023 at 04:40:55PM +0100, Thomas Huth wrote:
> Found with the "codespell" utility.
> 
> Signed-off-by: Thomas Huth <thuth at redhat.com>

> --- a/lib/libnet/dhcp.c
> +++ b/lib/libnet/dhcp.c
> @@ -111,7 +111,7 @@ static uint8_t dhcp_magic[] = {0x63, 0x82, 0x53, 0x63};
>   *  or to retrieve options from DHCP-msg during receiving.
>   *  <p>
>   *  If flag[i] == TRUE then field for i-th option retains valid value and
> - *  information from this field may retrived (in case of receiving) or will
> + *  information from this field may retrieved (in case of receiving) or will
>   *  be transmitted (in case of transmitting).

... may be retrieved ...

> -		// packet is completly reassambled now!
> +		// packet is completely reassambled now!

The word is "reassembled".  There is no word "reassambled", curious
that your spellchecker used that, huh.

>  /**
> - * send_ack - Sends a acknowlege package.
> + * send_ack - Sends a acknowledge package.

Send an acknowledge packet (or acknowledgement even).

All spellos except "reassambled" are spotted correctly.


Segher


More information about the SLOF mailing list