summaryrefslogtreecommitdiff
path: root/src/libsystemd-network/test-icmp6-rs.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libsystemd-network/test-icmp6-rs.c')
-rw-r--r--src/libsystemd-network/test-icmp6-rs.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libsystemd-network/test-icmp6-rs.c b/src/libsystemd-network/test-icmp6-rs.c
index cd5c4764e3..b81211f6bc 100644
--- a/src/libsystemd-network/test-icmp6-rs.c
+++ b/src/libsystemd-network/test-icmp6-rs.c
@@ -127,6 +127,10 @@ static void test_rs(sd_event *e) {
time_now + 2 *USEC_PER_SEC, 0,
test_rs_hangcheck, NULL) >= 0);
+ assert(sd_icmp6_nd_stop(nd) >= 0);
+ assert(sd_icmp6_router_solicitation_start(nd) >= 0);
+ assert(sd_icmp6_nd_stop(nd) >= 0);
+
assert(sd_icmp6_router_solicitation_start(nd) >= 0);
sd_event_loop(e);