PPP, rename ppp_clear function to ppp_link_start

This function does not clear anything anymore. What it is now is an
optional way to notify PPP that link layer is started, changing the
PPP state from "dead" to "initialize". Rename it accordingly to what
the function really is.
This commit is contained in:
Sylvain Rochet
2016-06-20 00:32:54 +02:00
parent 1d108b400f
commit 7b4bd3343b
5 changed files with 8 additions and 8 deletions

View File

@@ -270,7 +270,7 @@ static err_t pppol2tp_connect(ppp_pcb *ppp, void *ctx) {
pppol2tp_clear(l2tp);
ppp_clear(ppp);
ppp_link_start(ppp);
lcp_wo = &ppp->lcp_wantoptions;
lcp_wo->mru = PPPOL2TP_DEFMRU;