summaryrefslogtreecommitdiff
path: root/unit/test-ippool.c
diff options
context:
space:
mode:
Diffstat (limited to 'unit/test-ippool.c')
-rw-r--r--unit/test-ippool.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/unit/test-ippool.c b/unit/test-ippool.c
index 8cbcf64a..e7f6de0e 100644
--- a/unit/test-ippool.c
+++ b/unit/test-ippool.c
@@ -51,11 +51,11 @@ static void test_ippool_basic0(void)
/* Test the IP range */
- pool = __connman_ippool_create(1, 500);
+ pool = __connman_ippool_create(23, 1, 500, NULL, NULL);
g_assert(pool == NULL);
for (i = 1; i < 254; i++) {
- pool = __connman_ippool_create(1, i);
+ pool = __connman_ippool_create(23, 1, i, NULL, NULL);
g_assert(pool);
gateway = __connman_ippool_get_gateway(pool);
@@ -103,7 +103,7 @@ static void test_ippool_basic1(void)
*/
while (TRUE) {
- pool = __connman_ippool_create(1, 100);
+ pool = __connman_ippool_create(23, 1, 100, NULL, NULL);
if (pool == NULL)
break;
i += 1;