- updated tests to varius changes in modules
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user