diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-09-22 15:31:55 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-09-22 15:31:55 +0200 |
commit | 9c90e27767697e01b0cfb9f345b928763942b731 (patch) | |
tree | b9a73972a13c83ceaab9a65ce31f515df90ac8f3 /src/libsystemd-network/test-dhcp-client.c | |
parent | 85fade1edbc3d6ccf7e0685bbf4790f30d35009e (diff) | |
parent | 9ef61f2e4802abdb4a2853a82126420b1e77b419 (diff) |
Merge pull request #1333 from dvdhrm/sd-network-cleanup
sd-network: random API cleanups
Diffstat (limited to 'src/libsystemd-network/test-dhcp-client.c')
-rw-r--r-- | src/libsystemd-network/test-dhcp-client.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsystemd-network/test-dhcp-client.c b/src/libsystemd-network/test-dhcp-client.c index 29c20b77e3..c112ec8134 100644 --- a/src/libsystemd-network/test-dhcp-client.c +++ b/src/libsystemd-network/test-dhcp-client.c @@ -360,7 +360,7 @@ static void test_addr_acq_acquired(sd_dhcp_client *client, int event, struct in_addr addr; assert_se(client); - assert_se(event == DHCP_EVENT_IP_ACQUIRE); + assert_se(event == SD_DHCP_CLIENT_EVENT_IP_ACQUIRE); assert_se(sd_dhcp_client_get_lease(client, &lease) >= 0); assert_se(lease); |