Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1380)

Unified Diff: src/internet/model/tcp-header.cc

Issue 328370043: Patch for DualQCoupledPiSquareQueueDisc
Patch Set: Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/internet/model/tcp-dctcp.cc ('k') | src/internet/model/tcp-socket-base.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/internet/model/tcp-header.cc
===================================================================
--- a/src/internet/model/tcp-header.cc
+++ b/src/internet/model/tcp-header.cc
@@ -366,7 +366,7 @@
m_sequenceNumber = i.ReadNtohU32 ();
m_ackNumber = i.ReadNtohU32 ();
uint16_t field = i.ReadNtohU16 ();
- m_flags = field & 0x3F;
+ m_flags = field & 0xFF;
m_length = field >> 12;
m_windowSize = i.ReadNtohU16 ();
i.Next (2);
« no previous file with comments | « src/internet/model/tcp-dctcp.cc ('k') | src/internet/model/tcp-socket-base.h » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b