Be a bit more careful in the test of address changes at the client.
@@ -830,7 +830,7 @@ int quic_client(const char* ip_address_text, int server_port, const char * sni,
ret = picoquic_prepare_packet(cnx_client, current_time,
send_buffer, sizeof(send_buffer), &send_length, &x_to, &x_to_length, &x_from, &x_from_length);
- if (migration_started){
+ if (migration_started && force_migration == 3){
if (address_updated) {
if (picoquic_compare_addr((struct sockaddr *)&x_from, (struct sockaddr *)&client_address) != 0) {
fprintf(F_log, "Dropping packet sent from wrong address\n");
