summaryrefslogtreecommitdiffstats
path: root/src/libsystemd-network/test-ndisc-ra.c
diff options
context:
space:
mode:
authorBen Boeckel <mathstuf@gmail.com>2019-04-27 02:22:40 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2019-04-29 16:47:18 +0200
commit5238e9575906297608ff802a27e2ff9effa3b338 (patch)
treee17c534a09908167a0697a49ed3237f43134eb4c /src/libsystemd-network/test-ndisc-ra.c
parentnetwork: drop invalid assertion (diff)
downloadsystemd-5238e9575906297608ff802a27e2ff9effa3b338.tar.xz
systemd-5238e9575906297608ff802a27e2ff9effa3b338.zip
codespell: fix spelling errors
Diffstat (limited to 'src/libsystemd-network/test-ndisc-ra.c')
-rw-r--r--src/libsystemd-network/test-ndisc-ra.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libsystemd-network/test-ndisc-ra.c b/src/libsystemd-network/test-ndisc-ra.c
index 7dc44e5674..7c6c4663f3 100644
--- a/src/libsystemd-network/test-ndisc-ra.c
+++ b/src/libsystemd-network/test-ndisc-ra.c
@@ -60,7 +60,7 @@ static struct {
unsigned char prefixlen;
uint32_t valid;
uint32_t preferred;
- bool succesful;
+ bool successful;
} prefix[] = {
{ { { { 0x20, 0x01, 0x0d, 0xb8, 0xde, 0xad, 0xbe, 0xef,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 } } }, 64,
@@ -329,7 +329,7 @@ static void test_ra(void) {
if (prefix[i].preferred)
assert_se(sd_radv_prefix_set_preferred_lifetime(p, prefix[i].preferred) >= 0);
- assert_se((sd_radv_add_prefix(ra, p, false) >= 0) == prefix[i].succesful);
+ assert_se((sd_radv_add_prefix(ra, p, false) >= 0) == prefix[i].successful);
assert_se(sd_radv_add_prefix(ra, p, false) < 0);
p = sd_radv_prefix_unref(p);