Revision 681d74de

View differences:

ml/ml.c
514 514
				connectbuf[free_con_id]->connection_head = connectbuf[free_con_id]->connection_last = NULL;
515 515
				connectbuf[free_con_id]->starttime = time(NULL);
516 516
				memcpy(&(connectbuf[free_con_id]->external_socketID), &(con_msg->sock_id), sizeof(socket_ID));
517
		//Workaround to support reuse of socketID
518
				connectbuf[free_con_id]->external_socketID.internal_addr.udpaddr.sin_family=AF_INET;
519
				connectbuf[free_con_id]->external_socketID.external_addr.udpaddr.sin_family=AF_INET;
517 520
				connectbuf[free_con_id]->pmtusize = con_msg->pmtu_size;	// bootstrap pmtu from the other's size. Not strictly needed, but a good hint
518 521
				connectbuf[free_con_id]->timeout_event = NULL;
519 522
				connectbuf[free_con_id]->external_connectionID = msg_h->local_con_id;

Also available in: Unified diff