aboutsummaryrefslogtreecommitdiffstats
path: root/Source/charon/tests/send_queue_test.c
diff options
context:
space:
mode:
authorMartin Willi <martin@strongswan.org>2005-11-07 09:11:58 +0000
committerMartin Willi <martin@strongswan.org>2005-11-07 09:11:58 +0000
commit9317c2a1c68c987eb34e499762e95e9d81f09beb (patch)
tree49dab900b2bd5664b08f121554f64526094dd067 /Source/charon/tests/send_queue_test.c
parente15f7292ec4663977c1ee0414634ca738949a087 (diff)
downloadstrongswan-9317c2a1c68c987eb34e499762e95e9d81f09beb.tar.bz2
strongswan-9317c2a1c68c987eb34e499762e95e9d81f09beb.tar.xz
- revised packet and socket interface
- tested
Diffstat (limited to 'Source/charon/tests/send_queue_test.c')
-rw-r--r--Source/charon/tests/send_queue_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/charon/tests/send_queue_test.c b/Source/charon/tests/send_queue_test.c
index 0298899a9..603b6b0d4 100644
--- a/Source/charon/tests/send_queue_test.c
+++ b/Source/charon/tests/send_queue_test.c
@@ -67,7 +67,7 @@ static void test_send_queue_sender(send_queue_test_t * testinfo)
int i;
for (i = 0; i < testinfo->insert_item_count; i++)
{
- packet_t *packet = packet_create();
+ packet_t *packet = packet_create(AF_INET);
testinfo->tester->assert_true(testinfo->tester,(packet != NULL), "create packet call check");
testinfo->tester->assert_true(testinfo->tester,(testinfo->send_queue->add(testinfo->send_queue,packet) == SUCCESS), "add packet call check");
}