diff options
Diffstat (limited to 'Source/charon/testcases/sender_test.c')
-rw-r--r-- | Source/charon/testcases/sender_test.c | 2 |
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; |