diff options
author | Thomas Huth <thuth@redhat.com> | 2023-02-22 16:40:55 +0100 |
---|---|---|
committer | Alexey Kardashevskiy <aik@ozlabs.ru> | 2023-02-28 16:08:50 +1100 |
commit | ac9eac38755af41c114bef5515aa6863ad648d86 (patch) | |
tree | 1353ee9d6bce48f88dd02612eb75b42c12a14fa5 /lib/libnet/icmpv6.c | |
parent | 9bbdd35a274c6b45c62872ecbcc40931612ff70f (diff) | |
download | SLOF-ac9eac38755af41c114bef5515aa6863ad648d86.zip SLOF-ac9eac38755af41c114bef5515aa6863ad648d86.tar.gz SLOF-ac9eac38755af41c114bef5515aa6863ad648d86.tar.bz2 |
Fix typos in the lib/libnet folder
Found with the "codespell" utility.
Signed-off-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Diffstat (limited to 'lib/libnet/icmpv6.c')
-rw-r--r-- | lib/libnet/icmpv6.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libnet/icmpv6.c b/lib/libnet/icmpv6.c index 34d7c65..bb36cc1 100644 --- a/lib/libnet/icmpv6.c +++ b/lib/libnet/icmpv6.c @@ -85,7 +85,7 @@ handle_prefixoption (uint8_t *option) prefix_option = (struct option_prefix *) option; memcpy( &(prefix.addr), &(prefix_option->prefix.addr), IPV6_ADDR_LENGTH); - /* Link-local adresses in RAs are nonsense */ + /* Link-local addresses in RAs are nonsense */ if (ip6_is_linklocal(&prefix)) return; @@ -97,7 +97,7 @@ handle_prefixoption (uint8_t *option) if (!new_address) return; - /* Process only prefixes we don't already have an adress from */ + /* Process only prefixes we don't already have an address from */ if (!unknown_prefix (&new_address->addr)) { return; } @@ -256,7 +256,7 @@ send_neighbour_solicitation (int fd, ip6_addr_t *dest_ip6) * @param fd socket fd * @param ip6_packet pointer to an IPv6 packet * @param icmp6hdr pointer to the icmp6 header in ip6_packet - * @param na_flags Neighbour advertisment flags + * @param na_flags Neighbour advertisement flags */ static void send_neighbour_advertisement (int fd, struct neighbor *target) |