summaryrefslogtreecommitdiff
path: root/src/libsystemd-network/test-ndisc-rs.c
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2015-10-16 18:09:10 +0200
committerTom Gundersen <teg@jklm.no>2015-10-22 17:19:54 +0200
commit940367a0abb4cc4460922cc2fb933ba278a2afbb (patch)
treee320409b915bb4dab92be7d64e85cdeac242fa2e /src/libsystemd-network/test-ndisc-rs.c
parentde1e9928f137f4d17f463956a7612d9676c393aa (diff)
libsystemd-network: split icm6-util.[ch] out of dhcp6 code
Diffstat (limited to 'src/libsystemd-network/test-ndisc-rs.c')
-rw-r--r--src/libsystemd-network/test-ndisc-rs.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libsystemd-network/test-ndisc-rs.c b/src/libsystemd-network/test-ndisc-rs.c
index 6c79e89881..0bb488cd91 100644
--- a/src/libsystemd-network/test-ndisc-rs.c
+++ b/src/libsystemd-network/test-ndisc-rs.c
@@ -23,7 +23,7 @@
#include "socket-util.h"
-#include "dhcp6-internal.h"
+#include "icmp6-util.h"
#include "sd-ndisc.h"
static struct ether_addr mac_addr = {
@@ -44,7 +44,7 @@ static int test_rs_hangcheck(sd_event_source *s, uint64_t usec,
return 0;
}
-int dhcp_network_icmp6_bind_router_solicitation(int index) {
+int icmp6_bind_router_solicitation(int index) {
assert_se(index == 42);
if (socketpair(AF_UNIX, SOCK_DGRAM, 0, test_fd) < 0)
@@ -266,7 +266,7 @@ static int send_ra(uint8_t flags) {
return 0;
}
-int dhcp_network_icmp6_send_router_solicitation(int s, const struct ether_addr *ether_addr) {
+int icmp6_send_router_solicitation(int s, const struct ether_addr *ether_addr) {
return send_ra_function(0);
}