diff --git a/src/quic_tx.c b/src/quic_tx.c index 63ff86f84..4c1157f63 100644 --- a/src/quic_tx.c +++ b/src/quic_tx.c @@ -2172,8 +2172,8 @@ static void qc_build_cc_frm(struct quic_conn *qc, struct quic_enc_level *qel, } else { out->type = QUIC_FT_CONNECTION_CLOSE_APP; - out->connection_close.error_code = qc->err.code; - out->connection_close.reason_phrase_len = 0; + out->connection_close_app.error_code = qc->err.code; + out->connection_close_app.reason_phrase_len = 0; } } else {