| Index: net/tools/quic/quic_packet_reader.cc
|
| diff --git a/net/tools/quic/quic_packet_reader.cc b/net/tools/quic/quic_packet_reader.cc
|
| index f81fcec1d7891c7270d0a4720775ef6ed9be0369..0d0c613bc358aacb38db4a811effcb4be3fb8a0a 100644
|
| --- a/net/tools/quic/quic_packet_reader.cc
|
| +++ b/net/tools/quic/quic_packet_reader.cc
|
| @@ -130,8 +130,12 @@ bool QuicPacketReader::ReadAndDispatchManyPackets(
|
| packet_walltimestamp = fallback_walltimestamp;
|
| }
|
| QuicTime timestamp = clock.ConvertWallTimeToQuicTime(packet_walltimestamp);
|
| + int ttl = 0;
|
| + bool has_ttl =
|
| + QuicSocketUtils::GetTtlFromMsghdr(&mmsg_hdr_[i].msg_hdr, &ttl);
|
| QuicReceivedPacket packet(reinterpret_cast<char*>(packets_[i].iov.iov_base),
|
| - mmsg_hdr_[i].msg_len, timestamp, false);
|
| + mmsg_hdr_[i].msg_len, timestamp, false, ttl,
|
| + has_ttl);
|
| IPEndPoint server_address(server_ip, port);
|
| processor->ProcessPacket(server_address, client_address, packet);
|
| }
|
|
|