diff options
author | Daniel Wagner <daniel.wagner@bmw-carit.de> | 2012-01-26 14:30:17 +0100 |
---|---|---|
committer | Daniel Wagner <daniel.wagner@bmw-carit.de> | 2012-02-01 10:13:19 +0100 |
commit | c92a03edebc7e3e37a71d3e1350619031bc17ddf (patch) | |
tree | ce614055a076505c49d3580cd1dbd589db068764 /unit | |
parent | 3166418dec616ad5ef5cb1fc11a163c000cb27b4 (diff) | |
download | connman-c92a03edebc7e3e37a71d3e1350619031bc17ddf.tar.gz connman-c92a03edebc7e3e37a71d3e1350619031bc17ddf.tar.bz2 connman-c92a03edebc7e3e37a71d3e1350619031bc17ddf.zip |
ippool: Add API to notify when IP is externally assigned
Diffstat (limited to 'unit')
-rw-r--r-- | unit/test-ippool.c | 6 |
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; |