From 941d4f1c2ebd6da06fcbda24a71c974166024ef3 Mon Sep 17 00:00:00 2001 From: Sergey Kandaurov Date: Thu, 5 Mar 2020 13:10:01 +0300 Subject: Fixed packet "input" debug log message. --- src/event/ngx_event_quic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/event/ngx_event_quic.c b/src/event/ngx_event_quic.c index 89bcb445a..ee8a0c716 100644 --- a/src/event/ngx_event_quic.c +++ b/src/event/ngx_event_quic.c @@ -1203,7 +1203,7 @@ ngx_quic_handshake_input(ngx_connection_t *c, ngx_buf_t *bb) p = bb->pos; b = bb->start; - ngx_quic_hexdump0(c->log, "input", buf, n); + ngx_quic_hexdump0(c->log, "input", p, n); if ((p[0] & 0xf0) != NGX_QUIC_PKT_HANDSHAKE) { ngx_log_error(NGX_LOG_INFO, c->log, 0, "invalid packet type"); -- cgit