Re: [lwip-users] lwip2.0.2 l2tp question

2017-07-09 Thread odobryabov
Hi Sylvain Rochet wrote > Could you try replacing > > if (l2tp->iccn_retried >= PPPOL2TP_MAXICCN) { > pppol2tp_abort_connect(l2tp); > return; > } > > by > > if (l2tp->iccn_retried >= PPPOL2TP_MAXICCN) { > PPPDEBUG(LOG_DEBUG, ("pppol2tp: reached max

Re: [lwip-users] how to set the link up

2017-07-09 Thread Noam Weissman
Hi Max, I just read your comments. In my case I have two tasks… one that poll the link and one handling the application DHCP. The link task changes the DHCP task state when link is established and therefore they are independent and no deadlock happens. The link call back is used to update