diff options
author | Daniel Wagner <daniel.wagner@bmw-carit.de> | 2012-02-06 16:49:34 +0100 |
---|---|---|
committer | Daniel Wagner <daniel.wagner@bmw-carit.de> | 2012-02-13 18:03:41 +0100 |
commit | da94095914e25fd26a793d348884b39e913a56d2 (patch) | |
tree | e65aa44c31cc41ea6e13346da9fac42c20c005fc /unit | |
parent | 132f1d6803d1714b4ff44f07e331bf62bf9f5b5f (diff) | |
download | connman-da94095914e25fd26a793d348884b39e913a56d2.tar.gz connman-da94095914e25fd26a793d348884b39e913a56d2.tar.bz2 connman-da94095914e25fd26a793d348884b39e913a56d2.zip |
ippool: Add prefixlen argument to __connman_ippool_new/deladdr()
Diffstat (limited to 'unit')
-rw-r--r-- | unit/test-ippool.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/unit/test-ippool.c b/unit/test-ippool.c index 0794bde9..7b4a91bb 100644 --- a/unit/test-ippool.c +++ b/unit/test-ippool.c @@ -179,11 +179,11 @@ static void test_ippool_collision0(void) "\tgateway %s broadcast %s mask %s", start_ip, end_ip, gateway, broadcast, subnet_mask); - __connman_ippool_newaddr(23, start_ip); + __connman_ippool_newaddr(23, start_ip, 24); g_assert(flag == 0); - __connman_ippool_newaddr(42, start_ip); + __connman_ippool_newaddr(42, start_ip, 24); g_assert(flag == 1); |