Fixed unit tests: adapted lwipopts.h and fixed test_tcp_new_counters_pcb() after adding snd_wnd_max to struct tcp_pcb.

This commit is contained in:
goldsimon
2012-02-22 21:34:22 +01:00
parent b6cdeeef8e
commit 8cb0b7d043
2 changed files with 10 additions and 250 deletions

View File

@@ -229,6 +229,7 @@ test_tcp_new_counters_pcb(struct test_tcp_counters* counters)
tcp_recv(pcb, test_tcp_counters_recv);
tcp_err(pcb, test_tcp_counters_err);
pcb->snd_wnd = TCP_WND;
pcb->snd_wnd_max = TCP_WND;
}
return pcb;
}