Skip to content

Commit 980fc98

Browse files
committed
...
1 parent 4c541c2 commit 980fc98

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/quic/session.cc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1834,7 +1834,8 @@ bool Session::ReceivePacket(
18341834

18351835
uint64_t now = uv_hrtime();
18361836
SetStat(&SessionStats::received_at, now);
1837-
int err = ngtcp2_conn_read_pkt(connection(), path, nullptr, data, nread, now);
1837+
ngtcp2_pkt_info pi; // Not used but required.
1838+
int err = ngtcp2_conn_read_pkt(connection(), path, &pi, data, nread, now);
18381839
if (err < 0) {
18391840
switch (err) {
18401841
case NGTCP2_ERR_CALLBACK_FAILURE:

0 commit comments

Comments
 (0)