aboutsummaryrefslogtreecommitdiffstats
path: root/src/charon/testing/sender_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/charon/testing/sender_test.c')
-rw-r--r--src/charon/testing/sender_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/charon/testing/sender_test.c b/src/charon/testing/sender_test.c
index 391d71fbc..d4bdcfd2a 100644
--- a/src/charon/testing/sender_test.c
+++ b/src/charon/testing/sender_test.c
@@ -64,7 +64,7 @@ void test_sender(protected_tester_t *tester)
for (i = 0; i < NUMBER_OF_PACKETS_TO_SEND; i++)
{
- packet = packet_create(AF_INET);
+ packet = packet_create();
packet->set_destination(packet, host_create(AF_INET, "127.0.0.1", 500));
packet->set_source(packet, host_create(AF_INET, "127.0.0.1", 500));
packet->set_data(packet, chunk_clone(data));