From 7f319f5ec516b489cf47d9e71b8dc87ae3057a17 Mon Sep 17 00:00:00 2001 From: Dirk Ziegelmeier Date: Sun, 18 Dec 2016 21:46:49 +0100 Subject: [PATCH] Fix compile of test_tcp.c unit test after introduction of tcp_next_iss hook --- test/unit/tcp/test_tcp.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/unit/tcp/test_tcp.c b/test/unit/tcp/test_tcp.c index bfcfa1d9..81953466 100644 --- a/test/unit/tcp/test_tcp.c +++ b/test/unit/tcp/test_tcp.c @@ -35,8 +35,8 @@ tcp_setup(void) { /* reset iss to default (6510) */ tcp_ticks = 0; - tcp_ticks = 0 - (tcp_next_iss() - 6510); - tcp_next_iss(); + tcp_ticks = 0 - (tcp_next_iss(NULL) - 6510); + tcp_next_iss(NULL); tcp_ticks = 0; test_tcp_timer = 0; @@ -513,8 +513,8 @@ START_TEST(test_tcp_rto_rexmit_wraparound) /* create and initialize the pcb */ tcp_ticks = 0; - tcp_ticks = 0 - tcp_next_iss(); - tcp_ticks = SEQNO1 - tcp_next_iss(); + tcp_ticks = 0 - tcp_next_iss(NULL); + tcp_ticks = SEQNO1 - tcp_next_iss(NULL); pcb = test_tcp_new_counters_pcb(&counters); EXPECT_RET(pcb != NULL); EXPECT(pcb->lastack == SEQNO1);