aboutsummaryrefslogtreecommitdiffstats
path: root/Source/charon/testcases/sender_test.c
diff options
context:
space:
mode:
authorMartin Willi <martin@strongswan.org>2005-11-16 16:09:55 +0000
committerMartin Willi <martin@strongswan.org>2005-11-16 16:09:55 +0000
commit66e379a278e6e422eb3c4bd66c0ad7645a3c54ef (patch)
tree79d9cd7d244d7a20275f0dedfbcc25019b9f47fc /Source/charon/testcases/sender_test.c
parent523526ec9248791c69b6149135e2ea278cd06f68 (diff)
downloadstrongswan-66e379a278e6e422eb3c4bd66c0ad7645a3c54ef.tar.bz2
strongswan-66e379a278e6e422eb3c4bd66c0ad7645a3c54ef.tar.xz
- updated tests to varius changes in modules
Diffstat (limited to 'Source/charon/testcases/sender_test.c')
-rw-r--r--Source/charon/testcases/sender_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/charon/testcases/sender_test.c b/Source/charon/testcases/sender_test.c
index 8617686f7..226be917d 100644
--- a/Source/charon/testcases/sender_test.c
+++ b/Source/charon/testcases/sender_test.c
@@ -58,7 +58,7 @@ void test_sender(tester_t *tester)
for (i = 0; i < NUMBER_OF_PACKETS_TO_SEND; i++)
{
packet = packet_create(AF_INET);
- packet->set_destination(packet,DESTINATION_IP,PORT_TO_SEND);
+ packet->destination = host_create(AF_INET,DESTINATION_IP,PORT_TO_SEND);
packet->data.ptr = allocator_alloc_thing(int);
packet->data.len = ( sizeof(int));
*((int *) (packet->data.ptr)) = i;