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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user