You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by ma...@apache.org on 2018/06/22 07:10:52 UTC

[trafficserver] branch quic-latest updated: Fix a bug in the previous commit

This is an automated email from the ASF dual-hosted git repository.

maskit pushed a commit to branch quic-latest
in repository https://gitbox.apache.org/repos/asf/trafficserver.git


The following commit(s) were added to refs/heads/quic-latest by this push:
     new 6e85c9c  Fix a bug in the previous commit
6e85c9c is described below

commit 6e85c9c8518526f158484f99e34c671a4e1afaa8
Author: Masakazu Kitajo <ma...@apache.org>
AuthorDate: Fri Jun 22 16:10:28 2018 +0900

    Fix a bug in the previous commit
---
 iocore/net/quic/QUICPacket.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/iocore/net/quic/QUICPacket.cc b/iocore/net/quic/QUICPacket.cc
index 777a560..6706cee 100644
--- a/iocore/net/quic/QUICPacket.cc
+++ b/iocore/net/quic/QUICPacket.cc
@@ -135,7 +135,7 @@ QUICPacketLongHeader::QUICPacketLongHeader(const IpEndpoint from, ats_unique_buf
   uint8_t dcil = 0;
   uint8_t scil = 0;
   QUICPacketLongHeader::dcil(dcil, raw_buf, len);
-  QUICPacketLongHeader::dcil(scil, raw_buf, len);
+  QUICPacketLongHeader::scil(scil, raw_buf, len);
 
   size_t offset          = LONG_HDR_OFFSET_CONNECTION_ID;
   this->_destination_cid = {raw_buf + offset, dcil};