Skip to content

Commit 9f4be2a

Browse files
authored
Merge pull request #19 from hiok2000/patch-3
Update rdma-hw.cc
2 parents 1443f30 + d03c6ee commit 9f4be2a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

simulation/src/point-to-point/model/rdma-hw.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -786,7 +786,7 @@ void RdmaHw::UpdateRateHp(Ptr<RdmaQueuePair> qp, Ptr<Packet> p, CustomHeader &ch
786786
NS_ASSERT(ih.nhop <= IntHeader::maxHop);
787787
for (uint32_t i = 0; i < ih.nhop; i++){
788788
if (m_sampleFeedback){
789-
if (ih.hop[i].GetQlen() == 0 and fast_react)
789+
if (ih.hop[i].GetQlen() == 0 && fast_react)
790790
continue;
791791
}
792792
updated[i] = updated_any = true;

0 commit comments

Comments
 (0)