]> git.kaiwu.me - nginx.git/commitdiff
Fixed packet "input" debug log message.
authorSergey Kandaurov <pluknet@nginx.com>
Thu, 5 Mar 2020 10:10:01 +0000 (13:10 +0300)
committerSergey Kandaurov <pluknet@nginx.com>
Thu, 5 Mar 2020 10:10:01 +0000 (13:10 +0300)
src/event/ngx_event_quic.c

index 89bcb445afd9217133fdf866c77729aa7e546204..ee8a0c7165ed5106241ea8230fb2f38b3ca38764 100644 (file)
@@ -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");