summaryrefslogtreecommitdiff
path: root/src/libsystemd-network/test-acd.c
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2016-05-28 11:48:37 -0400
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2016-05-28 11:48:37 -0400
commit16690d0e15964b896531dfcc38fd13576745d77d (patch)
treec39e6c99c52f9afebd1705430d81c0b841b9c45e /src/libsystemd-network/test-acd.c
parent6f79340136e88cf5788e5b07cb8d59048fc2ba77 (diff)
parentae06d1be4efed2448315cd8e5e4bf08abaa03e26 (diff)
Merge pull request #3328 from poettering/ipv4ll-ipv4acd-fixes
various sd-Ipv4ll/sd-ipv4acd fixes
Diffstat (limited to 'src/libsystemd-network/test-acd.c')
-rw-r--r--src/libsystemd-network/test-acd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsystemd-network/test-acd.c b/src/libsystemd-network/test-acd.c
index 75564615b9..27fcc332a3 100644
--- a/src/libsystemd-network/test-acd.c
+++ b/src/libsystemd-network/test-acd.c
@@ -56,7 +56,7 @@ static int client_run(int ifindex, const struct in_addr *pa, const struct ether_
assert_se(sd_ipv4acd_new(&acd) >= 0);
assert_se(sd_ipv4acd_attach_event(acd, e, 0) >= 0);
- assert_se(sd_ipv4acd_set_index(acd, ifindex) >= 0);
+ assert_se(sd_ipv4acd_set_ifindex(acd, ifindex) >= 0);
assert_se(sd_ipv4acd_set_mac(acd, ha) >= 0);
assert_se(sd_ipv4acd_set_address(acd, pa) >= 0);
assert_se(sd_ipv4acd_set_callback(acd, acd_handler, NULL) >= 0);