@@ -2002,7 +2002,7 @@ tcp_rst(const struct tcp_pcb *pcb, u32_t seqno, u32_t ackno,
2002
2002
LWIP_DEBUGF (TCP_DEBUG , ("tcp_rst: could not allocate memory for pbuf\n" ));
2003
2003
return ;
2004
2004
}
2005
- tcp_output_fill_options (pcb , p , 0 , optlen );
2005
+ tcp_output_fill_options (pcb , p , 0 , 0 );
2006
2006
2007
2007
MIB2_STATS_INC (mib2 .tcpoutrsts );
2008
2008
@@ -2096,7 +2096,7 @@ tcp_keepalive(struct tcp_pcb *pcb)
2096
2096
("tcp_keepalive: could not allocate memory for pbuf\n" ));
2097
2097
return ERR_MEM ;
2098
2098
}
2099
- tcp_output_fill_options (pcb , p , 0 , optlen );
2099
+ tcp_output_fill_options (pcb , p , 0 , 0 );
2100
2100
err = tcp_output_control_segment (pcb , p , & pcb -> local_ip , & pcb -> remote_ip );
2101
2101
2102
2102
LWIP_DEBUGF (TCP_DEBUG , ("tcp_keepalive: seqno %" U32_F " ackno %" U32_F " err %d.\n" ,
@@ -2178,7 +2178,7 @@ tcp_zero_window_probe(struct tcp_pcb *pcb)
2178
2178
if (TCP_SEQ_LT (pcb -> snd_nxt , snd_nxt )) {
2179
2179
pcb -> snd_nxt = snd_nxt ;
2180
2180
}
2181
- tcp_output_fill_options (pcb , p , 0 , optlen );
2181
+ tcp_output_fill_options (pcb , p , 0 , 0 );
2182
2182
2183
2183
err = tcp_output_control_segment (pcb , p , & pcb -> local_ip , & pcb -> remote_ip );
2184
2184
0 commit comments