Browse Source

[net/lwip] Fix ppp retry assert error when tcp is connect.

朱天龙 (Armink) 2 years ago
parent
commit
4c92886ee5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      components/net/lwip/port/lwipopts.h

+ 1 - 1
components/net/lwip/port/lwipopts.h

@@ -585,7 +585,7 @@
 #endif
 
 /* MEMP_NUM_SYS_TIMEOUT: the number of simulateously active timeouts. */
-#define MEMP_NUM_SYS_TIMEOUT       (LWIP_TCP + IP_REASSEMBLY + LWIP_ARP + (2*LWIP_DHCP) + LWIP_AUTOIP + LWIP_IGMP + LWIP_DNS + PPP_SUPPORT)
+#define MEMP_NUM_SYS_TIMEOUT       (LWIP_TCP + IP_REASSEMBLY + LWIP_ARP + (2*LWIP_DHCP) + LWIP_AUTOIP + LWIP_IGMP + LWIP_DNS + 2*PPP_SUPPORT)
 
 /*
  * LWIP_COMPAT_SOCKETS==1: Enable BSD-style sockets functions names.