aboutsummaryrefslogtreecommitdiffstats
path: root/research
diff options
context:
space:
mode:
Diffstat (limited to 'research')
-rw-r--r--research/experiments/020-lossy-paths/sim.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/research/experiments/020-lossy-paths/sim.c b/research/experiments/020-lossy-paths/sim.c
index 361db14..5852885 100644
--- a/research/experiments/020-lossy-paths/sim.c
+++ b/research/experiments/020-lossy-paths/sim.c
@@ -149,8 +149,8 @@ int main(int argc, char **argv) {
}
now = next > now ? next : now;
while (now >= sample_at) {
- window_sum += s->window, rtt_sum += s->smoothed_rtt, ++samples;
- if (s->window < window_least) window_least = s->window;
+ window_sum += s->cc.window, rtt_sum += s->smoothed_rtt, ++samples;
+ if (s->cc.window < window_least) window_least = s->cc.window;
sample_at += 100 * MS;
}
for (size_t k = 0; k < packet_count;) {