From: Tobias Brunner Date: Mon, 7 Dec 2009 15:00:27 +0000 (+0100) Subject: The attribute manager was moved from daemon_t to libstrongswan. X-Git-Tag: 4.3.6~149 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=268911a5cc9af69618377028fa6121ece558c7ee;p=thirdparty%2Fstrongswan.git The attribute manager was moved from daemon_t to libstrongswan. --- diff --git a/src/charon/plugins/unit_tester/tests/test_pool.c b/src/charon/plugins/unit_tester/tests/test_pool.c index f9a776a820..109c06fda5 100644 --- a/src/charon/plugins/unit_tester/tests/test_pool.c +++ b/src/charon/plugins/unit_tester/tests/test_pool.c @@ -17,7 +17,6 @@ #include #include -#include #define ALLOCS 1000 #define THREADS 20 @@ -40,8 +39,8 @@ static void* testing(void *thread) /* allocate addresses */ for (i = 0; i < ALLOCS; i++) { - addr[i] = charon->attributes->acquire_address(charon->attributes, - "test", id[i], NULL); + addr[i] = lib->attributes->acquire_address(lib->attributes, + "test", id[i], NULL); if (!addr[i]) { return (void*)FALSE; @@ -51,7 +50,8 @@ static void* testing(void *thread) /* release addresses */ for (i = 0; i < ALLOCS; i++) { - charon->attributes->release_address(charon->attributes, "test", addr[i], id[i]); + lib->attributes->release_address(lib->attributes, + "test", addr[i], id[i]); } /* cleanup */