summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2014-08-14 01:28:35 +0200
committerTom Gundersen <teg@jklm.no>2014-08-14 01:29:51 +0200
commit2f8557eb3649840d76d9eb7d688a3c5c2922d31c (patch)
tree43300d39c67bbc138d3f61ba556c1383833df34b /src
parenta6f1e036de8f212f33ead7f5387c297afd8be26e (diff)
test: dhcp-server - fix test
Reported by Corey Hammerton on G+
Diffstat (limited to 'src')
-rw-r--r--src/libsystemd-network/test-dhcp-server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsystemd-network/test-dhcp-server.c b/src/libsystemd-network/test-dhcp-server.c
index a94b62f8e6..3e68f310f3 100644
--- a/src/libsystemd-network/test-dhcp-server.c
+++ b/src/libsystemd-network/test-dhcp-server.c
@@ -57,7 +57,7 @@ static int test_basic(sd_event *event) {
assert_se(sd_dhcp_server_start(server) == -EUNATCH);
assert_se(sd_dhcp_server_set_address(server, &address_any, 28) == -EINVAL);
- assert_se(sd_dhcp_server_set_address(server, &address_any, 38) == -ERANGE);
+ assert_se(sd_dhcp_server_set_address(server, &address_lo, 38) == -ERANGE);
assert_se(sd_dhcp_server_set_address(server, &address_lo, 8) >= 0);
assert_se(sd_dhcp_server_set_address(server, &address_lo, 8) == -EBUSY);