]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/libsystemd-network/test-ndisc-ra.c
time-util: assume CLOCK_BOOTTIME always exists
[thirdparty/systemd.git] / src / libsystemd-network / test-ndisc-ra.c
index cbf065d4fb332d5fb0f8a573b4369bbf882bbdf2..d4f8cf89b916276c729f9fab4df217198869bbf9 100644 (file)
@@ -327,7 +327,7 @@ TEST(ra) {
         assert_se(sd_event_add_io(e, &recv_router_advertisement, test_fd[0],
                                   EPOLLIN, radv_recv, ra) >= 0);
 
-        assert_se(sd_event_add_time_relative(e, NULL, clock_boottime_or_monotonic(),
+        assert_se(sd_event_add_time_relative(e, NULL, CLOCK_BOOTTIME,
                                              2 * USEC_PER_SEC, 0,
                                              NULL, INT_TO_PTR(-ETIMEDOUT)) >= 0);