quic-interop / quic-network-simulator

ns3-based network simulator for QUIC testing
Other
156 stars 45 forks source link

Fixes bug with using static int in droplist #20

Closed janaiyengar closed 5 years ago

janaiyengar commented 5 years ago

The code used packet_num as a static int, which made it a shared variable across instances of DropListErrorModel, meaning that packet counts were global, and not just in one direction. This PR fixes it.