changeset 8190:2bc1f97c1c2d quic

Fixed packet "input" debug log message.
author Sergey Kandaurov <pluknet@nginx.com>
date Thu, 05 Mar 2020 13:10:01 +0300
parents 80a07843c711
children 7bd7c4e24951
files src/event/ngx_event_quic.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/event/ngx_event_quic.c
+++ b/src/event/ngx_event_quic.c
@@ -1203,7 +1203,7 @@ ngx_quic_handshake_input(ngx_connection_
     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");