mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-12-26 12:13:47 +00:00
Fix compile of test_tcp.c unit test after introduction of tcp_next_iss hook
This commit is contained in:
parent
c21763f6cb
commit
7f319f5ec5
@ -35,8 +35,8 @@ tcp_setup(void)
|
|||||||
{
|
{
|
||||||
/* reset iss to default (6510) */
|
/* reset iss to default (6510) */
|
||||||
tcp_ticks = 0;
|
tcp_ticks = 0;
|
||||||
tcp_ticks = 0 - (tcp_next_iss() - 6510);
|
tcp_ticks = 0 - (tcp_next_iss(NULL) - 6510);
|
||||||
tcp_next_iss();
|
tcp_next_iss(NULL);
|
||||||
tcp_ticks = 0;
|
tcp_ticks = 0;
|
||||||
|
|
||||||
test_tcp_timer = 0;
|
test_tcp_timer = 0;
|
||||||
@ -513,8 +513,8 @@ START_TEST(test_tcp_rto_rexmit_wraparound)
|
|||||||
|
|
||||||
/* create and initialize the pcb */
|
/* create and initialize the pcb */
|
||||||
tcp_ticks = 0;
|
tcp_ticks = 0;
|
||||||
tcp_ticks = 0 - tcp_next_iss();
|
tcp_ticks = 0 - tcp_next_iss(NULL);
|
||||||
tcp_ticks = SEQNO1 - tcp_next_iss();
|
tcp_ticks = SEQNO1 - tcp_next_iss(NULL);
|
||||||
pcb = test_tcp_new_counters_pcb(&counters);
|
pcb = test_tcp_new_counters_pcb(&counters);
|
||||||
EXPECT_RET(pcb != NULL);
|
EXPECT_RET(pcb != NULL);
|
||||||
EXPECT(pcb->lastack == SEQNO1);
|
EXPECT(pcb->lastack == SEQNO1);
|
||||||
|
Loading…
Reference in New Issue
Block a user