summaryrefslogtreecommitdiff
path: root/unit
diff options
context:
space:
mode:
authorDaniel Wagner <daniel.wagner@bmw-carit.de>2012-01-26 13:30:17 (GMT)
committerDaniel Wagner <daniel.wagner@bmw-carit.de>2012-02-01 09:13:19 (GMT)
commitc92a03edebc7e3e37a71d3e1350619031bc17ddf (patch)
treece614055a076505c49d3580cd1dbd589db068764 /unit
parent3166418dec616ad5ef5cb1fc11a163c000cb27b4 (diff)
downloadconnman-c92a03edebc7e3e37a71d3e1350619031bc17ddf.tar.gz
connman-c92a03edebc7e3e37a71d3e1350619031bc17ddf.tar.xz
ippool: Add API to notify when IP is externally assigned
Diffstat (limited to 'unit')
-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 8cbcf64..e7f6de0 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;