mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-11-19 23:12:09 +00:00
PPP: add FIXME about removing netif_set_up() call later
User application code should be responsible to call netif_set_up() but let's not break compatibility for now. Signed-off-by: Sylvain Rochet <gradator@gradator.net>
This commit is contained in:
parent
c8fda8d46c
commit
3f47b04f16
@ -706,6 +706,8 @@ ppp_pcb *ppp_new(struct netif *pppif, const struct link_callbacks *callbacks, vo
|
|||||||
PPPDEBUG(LOG_ERR, ("ppp_new: netif_add failed\n"));
|
PPPDEBUG(LOG_ERR, ("ppp_new: netif_add failed\n"));
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
/* FIXME: user application should be responsible to call netif_set_up(),
|
||||||
|
* remove it for next release with allowed behavior break */
|
||||||
netif_set_up(pcb->netif);
|
netif_set_up(pcb->netif);
|
||||||
|
|
||||||
pcb->link_cb = callbacks;
|
pcb->link_cb = callbacks;
|
||||||
|
Loading…
Reference in New Issue
Block a user