mirror of
https://github.com/ep00ch/lwip-contrib-mac.git
synced 2024-11-18 22:05:51 +00:00
ppp_desc needs to be initialized with -1, not 0
This commit is contained in:
parent
99aab4ea68
commit
813b025f97
@ -113,7 +113,7 @@ struct netif loop_netif;
|
|||||||
#endif /* LWIP_HAVE_LOOPIF */
|
#endif /* LWIP_HAVE_LOOPIF */
|
||||||
#if PPP_SUPPORT
|
#if PPP_SUPPORT
|
||||||
/* THE PPP descriptor */
|
/* THE PPP descriptor */
|
||||||
int ppp_desc;
|
int ppp_desc = -1;
|
||||||
#endif /* PPP_SUPPORT */
|
#endif /* PPP_SUPPORT */
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user