ppp_desc needs to be initialized with -1, not 0

This commit is contained in:
goldsimon 2009-12-07 10:33:43 +00:00
parent 99aab4ea68
commit 813b025f97

View File

@ -113,7 +113,7 @@ struct netif loop_netif;
#endif /* LWIP_HAVE_LOOPIF */
#if PPP_SUPPORT
/* THE PPP descriptor */
int ppp_desc;
int ppp_desc = -1;
#endif /* PPP_SUPPORT */