Explorar el Código

Fix compile of test_tcp.c unit test after introduction of tcp_next_iss hook

Dirk Ziegelmeier hace 9 años
padre
commit
7f319f5ec5
Se han modificado 1 ficheros con 4 adiciones y 4 borrados
  1. 4 4
      test/unit/tcp/test_tcp.c

+ 4 - 4
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);