|
@@ -131,7 +131,7 @@ static u8_t iss[4]; /* The iss variable is used for the TCP
|
131
|
131
|
initial sequence number. */
|
132
|
132
|
|
133
|
133
|
#if UIP_ACTIVE_OPEN
|
134
|
|
-static u16_t lastport; /* Keeps track of the last port used for
|
|
134
|
+static u16_t lastport = 1024; /* Keeps track of the last port used for
|
135
|
135
|
a new connection. */
|
136
|
136
|
#endif /* UIP_ACTIVE_OPEN */
|
137
|
137
|
|
|
@@ -174,6 +174,7 @@ void uip_log(char *msg);
|
174
|
174
|
#endif /* UIP_LOGGING == 1 */
|
175
|
175
|
|
176
|
176
|
/*-----------------------------------------------------------------------------------*/
|
|
177
|
+#if 0
|
177
|
178
|
void
|
178
|
179
|
uip_init(void)
|
179
|
180
|
{
|
|
@@ -200,6 +201,7 @@ uip_init(void)
|
200
|
201
|
#endif /* UIP_FIXEDADDR */
|
201
|
202
|
|
202
|
203
|
}
|
|
204
|
+#endif
|
203
|
205
|
/*-----------------------------------------------------------------------------------*/
|
204
|
206
|
#if UIP_ACTIVE_OPEN
|
205
|
207
|
struct uip_conn *
|